You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sudo chown -R $(shell id -u):$(shell id -g)${HOME}/.kube .kube
156
+
@pulumi config set kubernetes kind
157
+
@echo "Created Kind Cluster."
155
158
156
159
# --- Wait for Kind Cluster Ready ---
157
160
kind-ready:
158
161
@echo "Waiting for Kind Kubernetes API to be ready..."
159
-
sleep 15
160
-
kubectl get all --all-namespaces --show-labels --kubeconfig ${KUBE_CONFIG_FILE}||true
161
-
sleep 5
162
-
kubectl get all --all-namespaces --show-labels --kubeconfig ${KUBE_CONFIG_FILE}||true
163
-
sleep 5
164
-
kubectl get all --all-namespaces --show-labels --kubeconfig ${KUBE_CONFIG_FILE}||true
165
-
sleep 5
166
-
bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-apiserver --namespace=kube-system --timeout=180s; do echo "Waiting for kube-apiserver to be ready..."; sleep 5; done'
167
-
bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-scheduler --namespace=kube-system --timeout=180s; do echo "Waiting for kube-scheduler to be ready..."; sleep 5; done'
168
-
bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-controller-manager --namespace=kube-system --timeout=180s; do echo "Waiting for kube-controller-manager to be ready..."; sleep 5; done'
162
+
@kubectl get all --all-namespaces --show-labels --kubeconfig ${KUBE_CONFIG_FILE}|| sleep 5
163
+
@bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-apiserver --namespace=kube-system --timeout=180s; do echo "Waiting for kube-apiserver to be ready..."; sleep 5; done'
164
+
@bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-scheduler --namespace=kube-system --timeout=180s; do echo "Waiting for kube-scheduler to be ready..."; sleep 5; done'
165
+
@bash -c 'until kubectl --kubeconfig ${KUBE_CONFIG_FILE} wait --for=condition=Ready pod -l component=kube-controller-manager --namespace=kube-system --timeout=180s; do echo "Waiting for kube-controller-manager to be ready..."; sleep 5; done'
0 commit comments