Skip to content

Commit

Permalink
Fixes flannel daemonset stuck in pod queue in Kubernetes 1.12.x per #170
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbtv committed Oct 25, 2018
1 parent ad50ff5 commit 447c6e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
17 changes: 6 additions & 11 deletions images/flannel-daemonset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
# ------------------------------- Intentionally removed, Multus daemonset configures /etc/cni/net.d
Expand Down Expand Up @@ -181,8 +180,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: arm64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
initContainers:
Expand Down Expand Up @@ -260,8 +258,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: arm
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
initContainers:
Expand Down Expand Up @@ -339,8 +336,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: ppc64le
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
initContainers:
Expand Down Expand Up @@ -418,8 +414,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: s390x
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: flannel
initContainers:
Expand Down Expand Up @@ -476,4 +471,4 @@ spec:
path: /etc/cni/net.d
- name: flannel-cfg
configMap:
name: kube-flannel-cfg
name: kube-flannel-cfg
3 changes: 1 addition & 2 deletions images/multus-daemonset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ spec:
nodeSelector:
beta.kubernetes.io/arch: amd64
tolerations:
- key: node-role.kubernetes.io/master
operator: Exists
- operator: Exists
effect: NoSchedule
serviceAccountName: multus
containers:
Expand Down

0 comments on commit 447c6e0

Please sign in to comment.