Merge pull request #83362 from wawa0210/zx-metrics

Bind metrics-server 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:02 -08:00 committed by GitHub
commit 082883cba3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,8 @@ spec:
spec: spec:
priorityClassName: system-cluster-critical priorityClassName: system-cluster-critical
serviceAccountName: metrics-server serviceAccountName: metrics-server
nodeSelector:
kubernetes.io/os: linux
containers: containers:
- name: metrics-server - name: metrics-server
image: k8s.gcr.io/metrics-server-amd64:v0.3.6 image: k8s.gcr.io/metrics-server-amd64:v0.3.6