Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-add livenessProbe and readinessProbe #268

Merged
merged 1 commit into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions helm/multi-juicer/templates/balancer/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ spec:
containerPort: 8080
- name: metrics
containerPort: 8081
livenessProbe:
httpGet:
path: /balancer/api/health
port: http
readinessProbe:
httpGet:
path: /balancer/api/readiness
port: http
volumeMounts:
- name: config-volume
mountPath: /config/config.json
Expand Down
24 changes: 24 additions & 0 deletions helm/multi-juicer/tests/__snapshot__/multijuicer_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,20 @@ default values render correctly:
name: balancer-secret
image: ghcr.io/juice-shop/multi-juicer/balancer:v42.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /balancer/api/health
port: http
name: multi-juicer
ports:
- containerPort: 8080
name: http
- containerPort: 8081
name: metrics
readinessProbe:
httpGet:
path: /balancer/api/readiness
port: http
resources:
limits:
cpu: 400m
Expand Down Expand Up @@ -646,12 +654,20 @@ full values render out correctly:
name: balancer-secret
image: ghcr.io/juice-shop/multi-juicer/balancer:v42.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /balancer/api/health
port: http
name: multi-juicer
ports:
- containerPort: 8080
name: http
- containerPort: 8081
name: metrics
readinessProbe:
httpGet:
path: /balancer/api/readiness
port: http
resources:
limits:
cpu: 400m
Expand Down Expand Up @@ -3331,12 +3347,20 @@ production notes work correctly:
name: balancer-secret
image: ghcr.io/juice-shop/multi-juicer/balancer:v42.0.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /balancer/api/health
port: http
name: multi-juicer
ports:
- containerPort: 8080
name: http
- containerPort: 8081
name: metrics
readinessProbe:
httpGet:
path: /balancer/api/readiness
port: http
resources:
limits:
cpu: 400m
Expand Down
Loading