Merge pull request #69737 from qingling128/master

Add tolerations for Stackdriver Logging and Metadata Agents.
pull/58/head
k8s-ci-robot 2018-10-15 05:43:41 -07:00 committed by GitHub
commit 8928e70af9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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