1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-16 15:10:12 +00:00

Add k8s 1.14

This commit is contained in:
Sebastiaan van Steenis
2019-04-05 23:19:28 +02:00
committed by Alena Prokharchyk
parent fbf29f208e
commit 21f3a3eff9
6 changed files with 9 additions and 4 deletions

View File

@@ -102,6 +102,7 @@ spec:
serviceAccountName: coredns
{{- end }}
nodeSelector:
beta.kubernetes.io/os: linux
{{ range $k, $v := .NodeSelector }}
{{ $k }}: {{ $v }}
{{ end }}
@@ -197,6 +198,8 @@ spec:
k8s-app: coredns-autoscaler
spec:
serviceAccountName: coredns-autoscaler
nodeSelector:
beta.kubernetes.io/os: linux
containers:
- name: autoscaler
image: {{.CoreDNSAutoScalerImage}}
@@ -232,7 +235,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["nodes"]
verbs: ["list"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["replicationcontrollers/scale"]
verbs: ["get", "update"]