Skip to content
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
12 changes: 0 additions & 12 deletions charts/unbound/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,6 @@ spec:
{{- with .Values.containers.unbound.args }}
args: {{ toYaml . | nindent 10 }}
{{- end }}
- name: "healthz"
image: {{ .Values.containers.healthz.image.repository }}:{{ .Values.containers.healthz.image.tag }}
imagePullPolicy: {{ .Values.containers.healthz.image.pullPolicy | quote }}
{{- with .Values.containers.healthz.resources }}
resources: {{ toYaml . | nindent 10 }}
{{- end }}
args:
- "-cmd=nslookup health.check.unbound. 127.0.0.1:{{ .Values.containers.unbound.serverPort }} > /dev/null"
ports:
- name: healthz
containerPort: 8080
protocol: TCP
{{- if .Values.metrics.enabled }}
- name: "exporter"
image: {{ .Values.containers.exporter.image.repository }}:{{ .Values.containers.exporter.image.tag }}
Expand Down
25 changes: 10 additions & 15 deletions charts/unbound/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ containers:
# extraLines:
# - 'stub-first: yes'

healthz:
image:
repository: gcr.io/google-containers/exechealthz
tag: "1.2"
pullPolicy: IfNotPresent
resources:
requests:
cpu: 2m
memory: 10Mi
exporter:
image:
repository: tombokombo/unbound-exporter
Expand All @@ -101,18 +92,22 @@ strategy:
maxUnavailable: 1

livenessProbe:
httpGet:
path: "/healthz"
port: 8080
exec:
command:
- nslookup
- health.check.unbound.
- 127.0.0.1
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
failureThreshold: 10

readinessProbe:
httpGet:
path: "/healthz"
port: 8080
exec:
command:
- nslookup
- health.check.unbound.
- 127.0.0.1
initialDelaySeconds: 10
timeoutSeconds: 5
periodSeconds: 10
Expand Down
Loading