Skip to content

Commit

Permalink
Define default values for all probes, order properties consistently, …
Browse files Browse the repository at this point in the history
…and order probe definitions logically.
  • Loading branch information
TheRealJon committed Feb 16, 2024
1 parent f0f7db4 commit 6c3e7fc
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions bindata/assets/deployments/console-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ spec:
requests:
cpu: 10m
memory: 100Mi
readinessProbe:
httpGet:
path: /health
port: 8443
scheme: HTTPS
timeoutSeconds: 1
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
lifecycle:
preStop:
exec:
Expand All @@ -65,20 +56,36 @@ spec:
- "--public-dir=/opt/bridge/static"
- "--config=/var/console-config/console-config.yaml"
- "--service-ca-file=/var/service-ca/service-ca.crt"
startupProbe:
httpGet:
path: /health
port: 8443
scheme: HTTPS
failureThreshold: 30
initialDelaySeconds: 0
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 10
livenessProbe:
httpGet:
path: /health
port: 8443
scheme: HTTPS
failureThreshold: 1
initialDelaySeconds: 0
periodSeconds: 10
startupProbe:
successThreshold: 1
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /health
port: 8443
scheme: HTTPS
failureThreshold: 3
initialDelaySeconds: 0
periodSeconds: 10
failureThreshold: 30
successThreshold: 1
timeoutSeconds: 1
ports:
- name: https
containerPort: 8443
Expand Down

0 comments on commit 6c3e7fc

Please sign in to comment.