[infinispan-issues] [JBoss JIRA] (ISPN-7972) Allow calling graceful shutdown multiple times

Sebastian Łaskawiec (JIRA) issues at jboss.org
Fri Jun 23 06:54:00 EDT 2017


Sebastian Łaskawiec created ISPN-7972:
-----------------------------------------

             Summary: Allow calling graceful shutdown multiple times
                 Key: ISPN-7972
                 URL: https://issues.jboss.org/browse/ISPN-7972
             Project: Infinispan
          Issue Type: Feature Request
          Components: Cloud Integrations, Core
            Reporter: Sebastian Łaskawiec
            Assignee: Tristan Tarrant


One of the ideas to implement Graceful Shutdown is to use [Kubernetes Pre-Stop Hook|https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks]. When user kills the entire cluster ({{oc scale dc/<name> --replicas=0}}), Kubernetes sends invokes Pre-Stop script in all containers and sends SIGTERM signal. After graceful period (30s by default) it just kills the containers. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the infinispan-issues mailing list