Add tolerations for Stackdriver Logging and Metadata Agents.

This commit is contained in:
Ling Huang 2018-10-12 11:15:33 -04:00
parent b5a5010e57
commit 85d8b5069b
2 changed files with 10 additions and 0 deletions

View File

@ -101,6 +101,11 @@ spec:
nodeSelector:
beta.kubernetes.io/fluentd-ds-ready: "true"
terminationGracePeriodSeconds: 60
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
volumes:
- name: varlog
hostPath:

View File

@ -58,6 +58,11 @@ spec:
restartPolicy: Always
schedulerName: default-scheduler
terminationGracePeriodSeconds: 30
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
updateStrategy:
rollingUpdate:
maxUnavailable: 1