small-hack / smol-k8s-lab

☁️ CLI & TUI with a smol friendly vibe to get started with Kubernetes on metal, then bootstrap apps using Argo CD 🧸 Great for testing webapps and benchmarking.
https://small-hack.github.io/smol-k8s-lab/
GNU Affero General Public License v3.0
12 stars 1 forks source link

fix issue where local ip may not be ready yet, so we can't join new nodes yet #173

Closed jessebot closed 4 months ago

jessebot commented 4 months ago

This patch just loops on getting the local ip address till it's available.

Without this patch, it results in a crash because it cannot strip the whitespace from the end of the ip address because the response from the kubectl get nodes is None.