Skip to content

Commit

Permalink
Add readiness probe to dns-autoscaler (kubernetes-sigs#6382)
Browse files Browse the repository at this point in the history
  • Loading branch information
p37ruh4 authored and LuckySB committed Sep 16, 2020
1 parent 0897311 commit f2fc206
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ spec:
requests:
cpu: {{ dns_autoscaler_cpu_requests }}
memory: {{ dns_autoscaler_memory_requests }}
readinessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
command:
- /cluster-proportional-autoscaler
- --namespace=kube-system
Expand Down

0 comments on commit f2fc206

Please sign in to comment.