Skip to content

Commit

Permalink
Create missing .kube directory if necessary.
Browse files Browse the repository at this point in the history
  • Loading branch information
hammingweight committed Apr 23, 2024
1 parent 48329fb commit cc95f7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ else
docker save -o fim.tar $FIM_IMAGE_NAME

microk8s start
mkdir -p $HOME/.kube
cp $HOME/.kube/config $HOME/.kube/config.bak || true
microk8s config > $HOME/.kube/config
chmod 600 $HOME/.kube/config
# We'll need a load balancer.
microk8s enable metallb:10.64.140.43-10.64.140.49
microk8s images import hello-server.tar
Expand Down

0 comments on commit cc95f7d

Please sign in to comment.