Skip to content

Commit 7190c99

Browse files
author
cdllp2
committed
fix start.sh
1 parent 4b7b505 commit 7190c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/kubernetes/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
bash init_node.sh
3-
cp config ~/.kube/config
3+
mkdir ~/.kube && cp config ~/.kube/config
44
mkdir kubeconfig && echo "" > kubeconfig/dev-kubeconfig
55
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/
66
node=`kubectl get node -o wide |grep $1 |awk '{print $1}'| head -n 1`

0 commit comments

Comments
 (0)