Merge pull request #83363 from wawa0210/zx-metadata-agent

Bind metadata-agent containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes
This commit is contained in:
Kubernetes Prow Robot
2019-12-09 03:10:16 -08:00
committed by GitHub

View File

@@ -29,6 +29,8 @@ spec:
spec:
serviceAccountName: metadata-agent
priorityClassName: system-node-critical
nodeSelector:
kubernetes.io/os: linux
containers:
- image: gcr.io/stackdriver-agents/stackdriver-metadata-agent:0.2-0.0.21-1
imagePullPolicy: IfNotPresent
@@ -91,6 +93,8 @@ spec:
spec:
serviceAccountName: metadata-agent
priorityClassName: system-cluster-critical
nodeSelector:
kubernetes.io/os: linux
containers:
- image: gcr.io/stackdriver-agents/stackdriver-metadata-agent:0.2-0.0.21-1
imagePullPolicy: IfNotPresent