Update DNS Autoscaler to 1.4.0 (#4425)

* Update DNS Autoscaler

* Update downloads too

* Fix yamllint

* Fix yamllint
This commit is contained in:
Andreas Krüger 2019-04-04 09:36:51 +02:00 committed by Kubernetes Prow Robot
parent 2067417ad4
commit 41e684eb5a
3 changed files with 7 additions and 3 deletions

View file

@ -210,8 +210,8 @@ nodelocaldns_version: "1.15.1"
nodelocaldns_image_repo: "k8s.gcr.io/k8s-dns-node-cache"
nodelocaldns_image_tag: "{{ nodelocaldns_version }}"
dnsautoscaler_version: 1.3.0
dnsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-{{ image_arch }}"
dnsautoscaler_version: 1.4.0
dnsautoscaler_image_repo: "k8s.gcr.io/cluster-proportional-autoscaler-{{ image_arch }}"
dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
test_image_repo: busybox
test_image_tag: latest

View file

@ -26,7 +26,7 @@ rules:
- apiGroups: [""]
resources: ["replicationcontrollers/scale"]
verbs: ["get", "update"]
- apiGroups: ["extensions"]
- apiGroups: ["extensions", "apps"]
resources: ["deployments/scale", "replicasets/scale"]
verbs: ["get", "update"]
- apiGroups: [""]

View file

@ -31,11 +31,15 @@ spec:
labels:
k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }}
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ""
seccomp.security.alpha.kubernetes.io/pod: 'docker/default'
spec:
{% if kube_version is version('v1.11.1', '>=') %}
priorityClassName: system-cluster-critical
{% endif %}
securityContext:
supplementalGroups: [ 65534 ]
fsGroup: 65534
nodeSelector:
beta.kubernetes.io/os: linux
tolerations: