mirror of https://github.com/easzlab/kubeasz.git
fix:controller-manager health check issue #1084
parent
5d59f8c06f
commit
1f925d1884
2
ezdown
2
ezdown
|
@ -196,7 +196,7 @@ EOF
|
|||
if [[ ${USE_PROXY} == 1 ]]; then
|
||||
logger debug "generate docker service http proxy file"
|
||||
mkdir -p /etc/systemd/system/docker.service.d
|
||||
c=$(echo -e ${CONFIG})
|
||||
c=$(echo -e "$CONFIG")
|
||||
cat > /etc/systemd/system/docker.service.d/http-proxy.conf << EOF
|
||||
${c}
|
||||
EOF
|
||||
|
|
|
@ -4,7 +4,7 @@ Documentation=https://github.com/GoogleCloudPlatform/kubernetes
|
|||
|
||||
[Service]
|
||||
ExecStart={{ bin_dir }}/kube-controller-manager \
|
||||
--bind-address={{ inventory_hostname }} \
|
||||
--bind-address=0.0.0.0 \
|
||||
--allocate-node-cidrs=true \
|
||||
--cluster-cidr={{ CLUSTER_CIDR }} \
|
||||
--cluster-name=kubernetes \
|
||||
|
|
Loading…
Reference in New Issue