Add critical pod annotations to kopeio

Should prevent eviction, which would (best case) stop us discovering new
nodes.
This commit is contained in:
Justin Santa Barbara 2017-05-10 11:53:45 -04:00
parent afd7332a7d
commit 043f0aaa25
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ spec:
labels:
name: kopeio-networking-agent
role.kubernetes.io/networking: "1"
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
hostPID: true
hostIPC: true

View File

@ -12,6 +12,8 @@ spec:
labels:
name: kopeio-networking-agent
role.kubernetes.io/networking: "1"
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
spec:
hostPID: true
hostIPC: true