Skip to content

Commit

Permalink
fix: Set restart policy for Minikube container in bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoKF committed Aug 2, 2024
1 parent 0b9fc91 commit 6ce2a23
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/bootstrap-demo-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ colima start --network-address --cpu="$COLIMA_CPUS" --memory="$COLIMA_MEMORY" --

echo "Creating Minikube cluster"
minikube start --driver=docker --cpus="$MINIKUBE_CPUS" --memory="$MINIKUBE_MEMORY" --addons="registry"
docker update --restart=unless-stopped minikube # set appropriate restart policy
docker run --restart=unless-stopped --detach --name minikube-registry-proxy --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:$(minikube ip):5000"

echo "Installing Kueue & setting up single cluster queue"
Expand Down

0 comments on commit 6ce2a23

Please sign in to comment.