1
0
mirror of synced 2026-06-22 04:40:47 +00:00

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:
Soule BA
2022-01-12 11:50:19 +01:00
parent f7d9ee90cd
commit 306f8f5715
23 changed files with 134 additions and 800 deletions
@@ -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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -17,4 +17,4 @@ spec:
type: Utilization
# scale up if usage is above
# 99% of the requested CPU (100m)
averageUtilization: 99
averageUtilization: 99
+1 -1
View File
@@ -14,4 +14,4 @@ spec:
- port: 9999
targetPort: grpc
protocol: TCP
name: grpc
name: grpc