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: nodeSelector:
beta.kubernetes.io/fluentd-ds-ready: "true" beta.kubernetes.io/fluentd-ds-ready: "true"
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
tolerations:
- operator: "Exists"
effect: "NoExecute"
- operator: "Exists"
effect: "NoSchedule"
volumes: volumes:
- name: varlog - name: varlog
hostPath: hostPath:

View File

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