Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add liveness and readiness probe to install manifest #1324

Merged
merged 1 commit into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -12833,10 +12833,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 @@ -12834,10 +12834,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