Add graceful shutdown when interrupted
If implemented this permit restoring a clean state in case of signal interruption. Signed-off-by: Soule BA <soule@weave.works>
This commit is contained in:
@@ -71,4 +71,4 @@ spec:
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 64Mi
|
||||
memory: 64Mi
|
||||
|
||||
@@ -17,4 +17,4 @@ spec:
|
||||
type: Utilization
|
||||
# scale up if usage is above
|
||||
# 99% of the requested CPU (100m)
|
||||
averageUtilization: 99
|
||||
averageUtilization: 99
|
||||
|
||||
@@ -12,4 +12,4 @@ spec:
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: podinfo
|
||||
targetNamespace: default
|
||||
targetNamespace: default
|
||||
|
||||
@@ -13,4 +13,4 @@ spec:
|
||||
interval: 30s
|
||||
ref:
|
||||
branch: master
|
||||
url: https://github.com/stefanprodan/podinfo
|
||||
url: https://github.com/stefanprodan/podinfo
|
||||
|
||||
@@ -71,4 +71,4 @@ spec:
|
||||
memory: 512Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 64Mi
|
||||
memory: 64Mi
|
||||
|
||||
@@ -17,4 +17,4 @@ spec:
|
||||
type: Utilization
|
||||
# scale up if usage is above
|
||||
# 99% of the requested CPU (100m)
|
||||
averageUtilization: 99
|
||||
averageUtilization: 99
|
||||
|
||||
@@ -14,4 +14,4 @@ spec:
|
||||
- port: 9999
|
||||
targetPort: grpc
|
||||
protocol: TCP
|
||||
name: grpc
|
||||
name: grpc
|
||||
|
||||
Reference in New Issue
Block a user