Update DNS Autoscaler to 1.4.0 (#4425)

* Update DNS Autoscaler

* Update downloads too

* Fix yamllint

* Fix yamllint
pull/4430/head
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_repo: "k8s.gcr.io/k8s-dns-node-cache"
nodelocaldns_image_tag: "{{ nodelocaldns_version }}" nodelocaldns_image_tag: "{{ nodelocaldns_version }}"
dnsautoscaler_version: 1.3.0 dnsautoscaler_version: 1.4.0
dnsautoscaler_image_repo: "gcr.io/google_containers/cluster-proportional-autoscaler-{{ image_arch }}" dnsautoscaler_image_repo: "k8s.gcr.io/cluster-proportional-autoscaler-{{ image_arch }}"
dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}" dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
test_image_repo: busybox test_image_repo: busybox
test_image_tag: latest test_image_tag: latest

View File

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

View File

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