mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-05 09:38:50 +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:
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue