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

Adds probes to the controler and liveness probe to the env-injector #99

Merged
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions stable/akv2k8s/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ spec:
ports:
- name: http
containerPort: {{ .Values.controller.service.internalHttpPort }}
readinessProbe:
httpGet:
LennartTimmers marked this conversation as resolved.
Show resolved Hide resolved
scheme: HTTP
path: /healthz
port: {{ .Values.controller.service.internalHttpPort }}
livenessProbe:
httpGet:
scheme: HTTP
path: /healthz
port: {{ .Values.controller.service.internalHttpPort }}
{{- if .Values.controller.securityContext }}
securityContext:
{{ toYaml .Values.controller.securityContext | nindent 10 }}
Expand Down
5 changes: 5 additions & 0 deletions stable/akv2k8s/templates/env-injector-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ spec:
scheme: HTTPS
path: /healthz
port: {{ .Values.env_injector.service.internalTlsPort }}
livenessProbe:
httpGet:
scheme: HTTPS
path: /healthz
port: {{ .Values.env_injector.service.internalTlsPort }}
volumeMounts:
- mountPath: /var/serving-cert
name: serving-cert
Expand Down