Skip to content

Commit

Permalink
fix: add kromgo probes
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Apr 3, 2024
1 parent 68f9a82 commit 10c8a56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions kubernetes/main/apps/observability/kromgo/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ spec:
PROMETHEUS_URL: http://thanos-query-frontend.observability.svc.cluster.local:10902
PORT: &port 80
probes:
liveness:
enabled: true
readiness:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /-/ready
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/main/apps/observability/kromgo/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ spec:
postBuild:
substitute:
APP: *app
GATUS_STATUS: "404"
GATUS_PATH: /-/ready

0 comments on commit 10c8a56

Please sign in to comment.