Skip to content

Commit

Permalink
chore: add liveness and readiness probe to the install manifests (#1324)
Browse files Browse the repository at this point in the history
Signed-off-by: Hui Kang <[email protected]>
  • Loading branch information
huikang authored Jul 7, 2021
1 parent a2c6b11 commit 503c520
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
17 changes: 17 additions & 0 deletions manifests/base/argo-rollouts-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ spec:
ports:
- containerPort: 8090
name: metrics
livenessProbe:
httpGet:
path: /metrics
port: 8090
initialDelaySeconds: 30
periodSeconds: 20
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /metrics
port: 8090
periodSeconds: 5
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 4
securityContext:
runAsNonRoot: true
strategy:
Expand Down
17 changes: 17 additions & 0 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12835,10 +12835,27 @@ spec:
containers:
- image: quay.io/argoproj/argo-rollouts:latest
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /metrics
port: 8090
initialDelaySeconds: 30
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 10
name: argo-rollouts
ports:
- containerPort: 8090
name: metrics
readinessProbe:
failureThreshold: 3
httpGet:
path: /metrics
port: 8090
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 4
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts
17 changes: 17 additions & 0 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12836,10 +12836,27 @@ spec:
- --namespaced
image: quay.io/argoproj/argo-rollouts:latest
imagePullPolicy: Always
livenessProbe:
failureThreshold: 3
httpGet:
path: /metrics
port: 8090
initialDelaySeconds: 30
periodSeconds: 20
successThreshold: 1
timeoutSeconds: 10
name: argo-rollouts
ports:
- containerPort: 8090
name: metrics
readinessProbe:
failureThreshold: 3
httpGet:
path: /metrics
port: 8090
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 4
securityContext:
runAsNonRoot: true
serviceAccountName: argo-rollouts

0 comments on commit 503c520

Please sign in to comment.