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: make live/readiness probe path configurable #5

Merged
merged 1 commit into from
Jun 14, 2021
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
4 changes: 2 additions & 2 deletions drpsychick/nginx-phpfpm/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: /health.php
path: {{ .Values.nginx.livenessProbe.path }}
port: http
readinessProbe:
httpGet:
path: /health.php
path: {{ .Values.nginx.readinessProbe.path }}
port: http
resources:
{{- toYaml .Values.nginx.resources | nindent 12 }}
Expand Down
5 changes: 5 additions & 0 deletions drpsychick/nginx-phpfpm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ nginx:
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80

livenessProbe:
path: /health.php
readinessProbe:
path: /health.php

phpfpm:
replicaCount: 1
image:
Expand Down