Fixed for hyperkube 1.12

During bootstrap process kubernetes node is not ready due to missed CNI.
It will be installed later but for a few daemonsets it's critical.
They can't start pods and looping in a while.

Workaround is here: add tolerations.

Change-Id: Ib3c361949ea4e452d599aa7a3a2b7827541b7bac
This commit is contained in:
Egorov, Stanislav (se6518) 2019-04-25 14:22:06 -07:00 committed by Egorov, Stanislav (se6518)
parent 648e016154
commit 3685419042
3 changed files with 9 additions and 0 deletions

View File

@ -54,6 +54,9 @@ spec:
effect: NoSchedule
- key: CriticalAddonsOnly
operator: Exists
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoSchedule
terminationGracePeriodSeconds: {{ .Values.pod.lifecycle.termination_grace_period.daemonset_anchor.timeout }}
containers:
- name: etcdctl

View File

@ -52,6 +52,9 @@ spec:
- key: node.kubernetes.io/network-unavailable
effect: NoSchedule
operator: Exists
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoSchedule
containers:
- name: "{{ .Release.Name }}-etcd-test"
env:

View File

@ -46,6 +46,9 @@ spec:
effect: NoSchedule
- key: CriticalAddonsOnly
operator: Exists
- key: node.kubernetes.io/not-ready
operator: Exists
effect: NoSchedule
containers:
- name: proxy
image: {{ .Values.images.tags.proxy }}