我试图重现gitops 游乐场
后
bash <(curl -s \
https://raw.githubusercontent.com/cloudogu/gitops-playground/main/scripts/init-cluster.sh) \
&& sleep 2 && docker run --rm -it --pull=always -u $(id -u) \
-v ~/.k3d/kubeconfig-gitops-playground.yaml:/home/.kube/config \
--net=host \
ghcr.io/cloudogu/gitops-playground --yes --argocd --fluxv2
Initializing k3d-cluster 'gitops-playground'
Cluster 'gitops-playground' already exists. Do you want to recreate the cluster?
[y/N]
y
我收到警告
WARN[0158] Node 'k3d-gitops-playground-server-0' is restarting for more than a minute now. Possibly it will recover soon (e.g. when it's waiting to join). Consider using a creation timeout to avoid waiting forever in a Restart Loop.
让我们检查一下集群
k3d cluster list
NAME SERVERS AGENTS LOADBALANCER
first 1/1 0/0 true
gitops-playground 1/1 0/0 false
但 .kube/conifg 未发生改变。我没有有效的 Kubernetes 环境可以继续使用。为什么?