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
No known key found for this signature in database
GPG key ID: 4D40965192802994
23 changed files with 134 additions and 800 deletions

View file

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

View file

@ -8,4 +8,4 @@ secretGenerator:
- literals:
- username=admin
- password=1f2d1e2e67df
name: secret-basic-auth
name: secret-basic-auth

View file

@ -9,4 +9,4 @@ metadata:
kustomize.toolkit.fluxcd.io/namespace: {{ .fluxns }}
name: db-user-pass-bkbd782d2c
namespace: default
type: Opaque
type: Opaque

View file

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

View file

@ -8,4 +8,4 @@ metadata:
kustomize.toolkit.fluxcd.io/namespace: {{ .fluxns }}
name: podinfo-token-77t89m9b67
namespace: default
type: Opaque
type: Opaque