We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97ce07c commit a3f84e3Copy full SHA for a3f84e3
masterkube/bin/create-masterkube.sh
@@ -139,10 +139,8 @@ done
139
140
# GRPC network endpoint
141
if [ "$TRANSPORT" == "unix" ]; then
142
- sudo mkdir -p /var/run/cluster-autoscaler
143
- sudo chown 777 /var/run/cluster-autoscaler
144
- LISTEN="/var/run/cluster-autoscaler/grpc.sock"
145
- CONNECTTO="${TRANSPORT}:${LISTEN}"
+ LISTEN="${PWD}/config/grpc.sock"
+ CONNECTTO="${TRANSPORT}:/etc/cluster-autoscaler/grpc.sock"
146
elif [ "$TRANSPORT" == "tcp" ]; then
147
if [ "$OSDISTRO" == "Linux" ]; then
148
NET_IF=$(ip route get 1 | awk '{print $5;exit}')
0 commit comments