Skip to content

Commit

Permalink
Yet another refactoring.
Browse files Browse the repository at this point in the history
  • Loading branch information
hammingweight committed Apr 17, 2024
1 parent 853af4d commit 48329fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,18 @@ then
minikube image load $HELLO_IMAGE_NAME
minikube image load $FIM_IMAGE_NAME
else
docker save -o hello-server.tar $HELLO_IMAGE_NAME
docker save -o fim.tar $FIM_IMAGE_NAME

microk8s start
cp $HOME/.kube/config $HOME/.kube/config.bak || true
microk8s config > $HOME/.kube/config
# We'll need a load balancer.
microk8s enable metallb:10.64.140.43-10.64.140.49
docker save -o hello-server.tar $HELLO_IMAGE_NAME
microk8s images import hello-server.tar
rm hello-server.tar
docker save -o fim.tar $FIM_IMAGE_NAME
microk8s images import fim.tar

rm hello-server.tar
rm fim.tar
fi

Expand Down

0 comments on commit 48329fb

Please sign in to comment.