Skip to content

Commit

Permalink
chore: readiness and liveness probes for parquet (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramit-wandb authored Mar 20, 2024
1 parent fd58835 commit 08967ff
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: operator-wandb
description: A Helm chart for deploying W&B to Kubernetes
type: application
version: 0.11.1
version: 0.11.2
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
20 changes: 20 additions & 0 deletions charts/operator-wandb/charts/parquet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,26 @@ spec:
{{- include "parquet.extraEnv" (dict "global" .Values.global "local" .Values) | nindent 12 }}
{{- include "wandb.extraEnvFrom" (dict "root" $ "local" .) | nindent 12 }}

livenessProbe:
httpGet:
path: /ready
port: 8087
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1

readinessProbe:
httpGet:
path: /ready
port: 8087
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
successThreshold: 1

resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand Down

0 comments on commit 08967ff

Please sign in to comment.