Skip to content

Commit 503c520

Browse files
authored
chore: add liveness and readiness probe to the install manifests (argoproj#1324)
Signed-off-by: Hui Kang <[email protected]>
1 parent a2c6b11 commit 503c520

File tree

3 files changed

+51
-0
lines changed

3 files changed

+51
-0
lines changed

manifests/base/argo-rollouts-deployment.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ spec:
2323
ports:
2424
- containerPort: 8090
2525
name: metrics
26+
livenessProbe:
27+
httpGet:
28+
path: /metrics
29+
port: 8090
30+
initialDelaySeconds: 30
31+
periodSeconds: 20
32+
failureThreshold: 3
33+
successThreshold: 1
34+
timeoutSeconds: 10
35+
readinessProbe:
36+
httpGet:
37+
path: /metrics
38+
port: 8090
39+
periodSeconds: 5
40+
failureThreshold: 3
41+
successThreshold: 1
42+
timeoutSeconds: 4
2643
securityContext:
2744
runAsNonRoot: true
2845
strategy:

manifests/install.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12835,10 +12835,27 @@ spec:
1283512835
containers:
1283612836
- image: quay.io/argoproj/argo-rollouts:latest
1283712837
imagePullPolicy: Always
12838+
livenessProbe:
12839+
failureThreshold: 3
12840+
httpGet:
12841+
path: /metrics
12842+
port: 8090
12843+
initialDelaySeconds: 30
12844+
periodSeconds: 20
12845+
successThreshold: 1
12846+
timeoutSeconds: 10
1283812847
name: argo-rollouts
1283912848
ports:
1284012849
- containerPort: 8090
1284112850
name: metrics
12851+
readinessProbe:
12852+
failureThreshold: 3
12853+
httpGet:
12854+
path: /metrics
12855+
port: 8090
12856+
periodSeconds: 5
12857+
successThreshold: 1
12858+
timeoutSeconds: 4
1284212859
securityContext:
1284312860
runAsNonRoot: true
1284412861
serviceAccountName: argo-rollouts

manifests/namespace-install.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12836,10 +12836,27 @@ spec:
1283612836
- --namespaced
1283712837
image: quay.io/argoproj/argo-rollouts:latest
1283812838
imagePullPolicy: Always
12839+
livenessProbe:
12840+
failureThreshold: 3
12841+
httpGet:
12842+
path: /metrics
12843+
port: 8090
12844+
initialDelaySeconds: 30
12845+
periodSeconds: 20
12846+
successThreshold: 1
12847+
timeoutSeconds: 10
1283912848
name: argo-rollouts
1284012849
ports:
1284112850
- containerPort: 8090
1284212851
name: metrics
12852+
readinessProbe:
12853+
failureThreshold: 3
12854+
httpGet:
12855+
path: /metrics
12856+
port: 8090
12857+
periodSeconds: 5
12858+
successThreshold: 1
12859+
timeoutSeconds: 4
1284312860
securityContext:
1284412861
runAsNonRoot: true
1284512862
serviceAccountName: argo-rollouts

0 commit comments

Comments
 (0)