Update DNS Autoscaler to 1.4.0 (#4425)
* Update DNS Autoscaler * Update downloads too * Fix yamllint * Fix yamllintpull/4430/head
parent
2067417ad4
commit
41e684eb5a
|
@ -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
|
||||||
|
|
|
@ -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: [""]
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue