Widen the tolerations of kuberouter

This commit is contained in:
John Gardiner Myers 2020-07-09 22:25:59 -07:00
parent 04ec3ddd13
commit 53e07476df
4 changed files with 6 additions and 26 deletions

View File

@ -7347,14 +7347,7 @@ spec:
name: kube-router-cfg
hostNetwork: true
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/not-ready
operator: Exists
- operator: Exists
volumes:
- name: lib-modules
hostPath:
@ -7537,10 +7530,7 @@ spec:
hostNetwork: true
serviceAccountName: kube-router
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoSchedule
operator: Exists
- operator: Exists
volumes:
- hostPath:
path: /lib/modules

View File

@ -109,14 +109,7 @@ spec:
name: kube-router-cfg
hostNetwork: true
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoSchedule
key: node-role.kubernetes.io/master
operator: Exists
- effect: NoSchedule
key: node.kubernetes.io/not-ready
operator: Exists
- operator: Exists
volumes:
- name: lib-modules
hostPath:

View File

@ -90,10 +90,7 @@ spec:
hostNetwork: true
serviceAccountName: kube-router
tolerations:
- key: CriticalAddonsOnly
operator: Exists
- effect: NoSchedule
operator: Exists
- operator: Exists
volumes:
- hostPath:
path: /lib/modules

View File

@ -841,8 +841,8 @@ func (b *BootstrapChannelBuilder) buildAddons() *channelsapi.Addons {
if b.Cluster.Spec.Networking.Kuberouter != nil {
key := "networking.kuberouter"
versions := map[string]string{
"k8s-1.6": "0.3.1-kops.3",
"k8s-1.12": "1.0.0-kops.1",
"k8s-1.6": "0.3.1-kops.4",
"k8s-1.12": "1.0.0-kops.2",
}
{