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

feat: add startup probe #281

Merged
merged 1 commit into from
May 13, 2024
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
1 change: 1 addition & 0 deletions helm-charts/azure-api-management-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ their default values.
| `resources` | Pod resource requests & limits | `{}` |
| `probes.readiness` | Configuration for readiness probes of the container | Uses `/status-0123456789abcdef` as endpoint for HTTP probes |
| `probes.liveness` | Configuration for liveness probes of the container | Uses `/status-0123456789abcdef` as endpoint for HTTP probes |
| `probes.startup` | Configuration for startup probes of the container | Uses `/status-0123456789abcdef` as endpoint for HTTP probes |
| `securityContext` | Privilege and access control settings for the container | `{}` |
| `podSecurityContext` | Privilege and access control settings for the pod | `{}` |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ spec:
{{- toYaml .Values.probes.readiness | nindent 12 }}
livenessProbe:
{{- toYaml .Values.probes.liveness | nindent 12 }}
startupProbe:
{{- toYaml .Values.probes.startup | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.securityContext }}
Expand Down
4 changes: 4 additions & 0 deletions helm-charts/azure-api-management-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ probes:
httpGet:
path: /status-0123456789abcdef
port: http
startup:
httpGet:
path: /status-0123456789abcdef
port: http

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down
Loading