Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit ad21f25

Browse files
author
Corneil du Plessis
committed
Improve local configuration of microk8s to ensure startup before proceeding. [skip ci]
1 parent 46cac9d commit ad21f25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/deploy/k8s/configure-k8s.sh

+3
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,11 @@ case "$K8S_DRIVER" in
5454
echo "Configure Microk8s"
5555
microk8s enable registry
5656
microk8s enable hostpath-storage
57+
# change the range depending on network requirements. This is ideal for local testing.
5758
microk8s enable metallb:172.18.0.1-172.18.0.254
5859
microk8s kubectl get all --all-namespaces
60+
kubectl rollout status deployment registry --namespace container-registry
61+
kubectl rollout status deployment controller --namespace metallb-system
5962
;;
6063
*)
6164
echo "Creating Minikube cluster with $K8S_DRIVER and k8s=$K8S_VERSION"

0 commit comments

Comments
 (0)