GCE: update addon DaemonSets to select node OS

These DaemonSets supports only Linux today, so this change updates the
specs to reflect this limitation. The labels have recently been promoted
to GA. Using the beta labels for now until node-master version skew
problem no longer exists.
This commit is contained in:
Yu-Ju Hong 2019-01-23 09:01:40 -08:00
parent 0b8566f388
commit 9c892243f6
2 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,7 @@ spec:
# END_PROMETHEUS_TO_SD
nodeSelector:
beta.kubernetes.io/fluentd-ds-ready: "true"
beta.kubernetes.io/os: linux
terminationGracePeriodSeconds: 60
tolerations:
- operator: "Exists"

View File

@ -89,4 +89,5 @@ spec:
# END_PROMETHEUS_TO_SD
nodeSelector:
beta.kubernetes.io/metadata-proxy-ready: "true"
beta.kubernetes.io/os: linux
terminationGracePeriodSeconds: 30