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

added liveness and readiness probes to debug container partials template #11308

Merged
merged 6 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 3 additions & 0 deletions charts/linkerd-control-plane/values-ha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,8 @@ webhookFailurePolicy: Fail
# service profile validator configuration
spValidatorResources: *controller_resources

# policy controller configuration
policyControllerResources: *controller_resources
alpeb marked this conversation as resolved.
Show resolved Hide resolved

alpeb marked this conversation as resolved.
Show resolved Hide resolved
# flag for linkerd check
highAvailability: true
3 changes: 3 additions & 0 deletions charts/linkerd-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,9 @@ policyValidator:
# for more information.
injectCaFromSecret: ""

# -|- CPU, Memory and Ephemeral Storage resources required by the policy controller
#policyControllerResources:

alpeb marked this conversation as resolved.
Show resolved Hide resolved
# -- NodeSelector section, See the [K8S
# documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector)
# for more information
Expand Down
10 changes: 10 additions & 0 deletions charts/partials/templates/_debug.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,14 @@ image: {{.Values.debugContainer.image.name}}:{{.Values.debugContainer.image.vers
imagePullPolicy: {{.Values.debugContainer.image.pullPolicy | default .Values.imagePullPolicy}}
name: linkerd-debug
terminationMessagePolicy: FallbackToLogsOnError
livenessProbe:
exec:
command:
- touch
- /tmp/healthy
readinessProbe:
exec:
command:
- touch
- /tmp/healthy
{{- end -}}