mirror of https://github.com/easzlab/kubeasz.git
修复calico-controller多网卡问题
parent
68ecb6a23d
commit
29f0c4cd31
|
@ -312,6 +312,11 @@ spec:
|
|||
# Choose which controllers to run.
|
||||
- name: ENABLED_CONTROLLERS
|
||||
value: policy,profile,workloadendpoint,node
|
||||
# 多网卡服务器需要设置以下2个环境变量
|
||||
- name: KUBERNETES_SERVICE_HOST
|
||||
value: "{{ MASTER_IP }}"
|
||||
- name: KUBERNETES_SERVICE_PORT
|
||||
value: "{{ KUBE_APISERVER.split(':')[2] }}"
|
||||
volumeMounts:
|
||||
# Mount in the etcd TLS secrets.
|
||||
- mountPath: /calico-secrets
|
||||
|
|
Loading…
Reference in New Issue