1
0
mirror of synced 2026-02-06 19:05:55 +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

View File

@@ -71,4 +71,4 @@ spec:
memory: 512Mi
requests:
cpu: 100m
memory: 64Mi
memory: 64Mi

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

View File

@@ -12,4 +12,4 @@ spec:
sourceRef:
kind: GitRepository
name: podinfo
targetNamespace: default
targetNamespace: default

View File

@@ -13,4 +13,4 @@ spec:
interval: 30s
ref:
branch: master
url: https://github.com/stefanprodan/podinfo
url: https://github.com/stefanprodan/podinfo

View File

@@ -71,4 +71,4 @@ spec:
memory: 512Mi
requests:
cpu: 100m
memory: 64Mi
memory: 64Mi

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

View File

@@ -14,4 +14,4 @@ spec:
- port: 9999
targetPort: grpc
protocol: TCP
name: grpc
name: grpc