Skip to content

Commit

Permalink
enh(infra) add readiness probe for connectors and front (#2991)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Dec 21, 2023
1 parent b5bb6fe commit cc5748c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions k8s/deployments/connectors-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 3002
readinessProbe:
httpGet:
path: /
port: 3002
initialDelaySeconds: 5
periodSeconds: 5

envFrom:
- configMapRef:
Expand Down
6 changes: 6 additions & 0 deletions k8s/deployments/front-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 3000
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 5
periodSeconds: 5

envFrom:
- configMapRef:
Expand Down

0 comments on commit cc5748c

Please sign in to comment.