Skip to content

Commit

Permalink
Bind metrics-server containers to linux nodes to avoid Windows schedu…
Browse files Browse the repository at this point in the history
…ling on kubernetes cluster includes linux nodes and windows nodes
  • Loading branch information
wawa0210 committed Oct 13, 2019
1 parent 2ebcd25 commit ec3a387
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/addons/metrics-server/metrics-server-deployment.yaml
Expand Up @@ -46,6 +46,8 @@ spec:
spec:
priorityClassName: system-cluster-critical
serviceAccountName: metrics-server
nodeSelector:
kubernetes.io/os: linux
containers:
- name: metrics-server
image: k8s.gcr.io/metrics-server-amd64:v0.3.5
Expand Down

0 comments on commit ec3a387

Please sign in to comment.