Skip to content

Commit

Permalink
feat(hasura): min replica and startup probe
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-van-woerkens committed May 13, 2024
1 parent 4756bb2 commit 462ea04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/contrib/charts/hasura/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
namespace: {{ or .Values.namespace .Values.global.namespace }}
annotations: {}
spec:
replicas: {{ .Values.replicas }}
replicas: {{ or .Values.replicas .Values.global.replicas 1 }}
selector:
matchLabels:
component: {{ (or .Values.component .Chart.Name) | lower }}
Expand Down
9 changes: 7 additions & 2 deletions plugins/contrib/charts/hasura/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ imagePackage: hasura
imageTag:
isProd: false
isPreProd: false
replicas: 1
replicas:
containerPort: 8080
servicePort: 80
env: []
envFrom: []
envConfigName:
probesPath: /healthz
probesPort:
probesPort:
startupProbe:
httpGet:
path: /healthz
port: http
failureThreshold: 120
resources:
limits:
cpu:
Expand Down

0 comments on commit 462ea04

Please sign in to comment.