Skip to content

Commit

Permalink
Improve local configuration of microk8s to ensure startup before proc…
Browse files Browse the repository at this point in the history
…eeding. [skip ci]
  • Loading branch information
corneil committed Oct 17, 2024
1 parent 46cac9d commit ad21f25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/deploy/k8s/configure-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ case "$K8S_DRIVER" in
echo "Configure Microk8s"
microk8s enable registry
microk8s enable hostpath-storage
# change the range depending on network requirements. This is ideal for local testing.
microk8s enable metallb:172.18.0.1-172.18.0.254
microk8s kubectl get all --all-namespaces
kubectl rollout status deployment registry --namespace container-registry
kubectl rollout status deployment controller --namespace metallb-system
;;
*)
echo "Creating Minikube cluster with $K8S_DRIVER and k8s=$K8S_VERSION"
Expand Down

0 comments on commit ad21f25

Please sign in to comment.