Bind dns-horizontal containers to linux nodes to avoid Windows scheduling on kubernetes cluster includes linux nodes and windows nodes

This commit is contained in:
xiaozhang 2019-10-01 23:28:56 +08:00 committed by 张潇
parent 2ebcd2509c
commit 5459dbf84b

View File

@ -82,6 +82,8 @@ spec:
securityContext:
supplementalGroups: [ 65534 ]
fsGroup: 65534
nodeSelector:
kubernetes.io/os: linux
containers:
- name: autoscaler
image: k8s.gcr.io/cluster-proportional-autoscaler-amd64:1.7.1