Browse Source

Add readiness probe to dns-autoscaler (#6382)

pull/6393/head
petruha 4 years ago
committed by GitHub
parent
commit
4cb576da19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. 5
      roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2

5
roles/kubernetes-apps/ansible/templates/dns-autoscaler.yml.j2

@ -65,6 +65,11 @@ spec:
requests: requests:
cpu: {{ dns_autoscaler_cpu_requests }} cpu: {{ dns_autoscaler_cpu_requests }}
memory: {{ dns_autoscaler_memory_requests }} memory: {{ dns_autoscaler_memory_requests }}
readinessProbe:
httpGet:
path: /healthz
port: 8080
scheme: HTTP
command: command:
- /cluster-proportional-autoscaler - /cluster-proportional-autoscaler
- --namespace=kube-system - --namespace=kube-system

Loading…
Cancel
Save