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 4b7b505 commit 7190c99Copy full SHA for 7190c99
install/kubernetes/start.sh
@@ -1,6 +1,6 @@
1
2
bash init_node.sh
3
-cp config ~/.kube/config
+mkdir ~/.kube && cp config ~/.kube/config
4
mkdir kubeconfig && echo "" > kubeconfig/dev-kubeconfig
5
curl -LO https://dl.k8s.io/release/v1.24.0/bin/linux/amd64/kubectl && chmod +x kubectl && cp kubectl /usr/bin/ && mv kubectl /usr/local/bin/
6
node=`kubectl get node -o wide |grep $1 |awk '{print $1}'| head -n 1`
0 commit comments