Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-13271

Add REST endpoint to shutdown containers only

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 13.0.0.Final
    • 12.1.7.Final
    • Operator, REST
    • None

    Description

      /v2/clusters?action=stop shutdowns down all caches and makes the servers exit. This does not work well with a k8s StatefulSet as the controller will always attempt to have `.replica` pods ready, resulting in the pods being recreated after stop is called.

      To avoid this, we should expose a /v2/clusters?action=stop-containers action that only shutdowns the container content and leaves the server process running. The StatefulSet controller can then terminate the server process when spec.replica = 0 and the pods are scaled down.

      Attachments

        Activity

          People

            remerson@redhat.com Ryan Emerson
            remerson@redhat.com Ryan Emerson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: