fix:controller-manager health check issue #1084

pull/1109/head
gjmzj 2021-11-24 19:22:32 +08:00
parent 5d59f8c06f
commit 1f925d1884
2 changed files with 2 additions and 2 deletions

2
ezdown
View File

@ -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

View File

@ -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 \