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
I have a tilt instance up and running with a KUBECONFIG env var set to a valid kubeconfig. I want to reset my cluster and start over from a fresh cluster so I run kubeadm reset and kubeadm init on the node. I then copy down the new /etc/kubernetes/admin.conf kubeconfig and replace KUBECONFIG local file with the contents of the admin.conf file.
Tilt now complains about an x509 error because I have regenerated the CAs which is part of the standard process of kubeadm reset and kubeadm init
I would expect tilt to reload that file and was surprised when I had to kill the process and restart it.
The text was updated successfully, but these errors were encountered:
For context, a lot of how we watch the cluster right now is pretty set at start-up. We don't respond to the context changing at all, and that seems like a good thing.... But.... Hrm. This might not be trivial to fix.
+1 for this issue. In my ideal world I'd like to be able to execute this Tiltfile:
ifconfig.tilt_subcommand=="down":
local(command="ctlptl delete -f ./deploy/local-dev-cluster.yaml")
# Force Exit?else:
local(command="ctlptl apply -f ./deploy/local-dev-cluster.yaml")
# Re-auth or restart tilt with a special flag passed in to skip this step# Maybe even just a tilt extension that builds the cluster using ctlptl if it doesn't exist?forappin ["myapp"]:
docker_build(app, context="./{}/src".format(app), dockerfile="./{}/deploy/Dockerfile".format(app))
k8s_yaml("./{}/deploy/k8s.yaml".format(app))
I have a tilt instance up and running with a KUBECONFIG env var set to a valid kubeconfig. I want to reset my cluster and start over from a fresh cluster so I run
kubeadm reset
andkubeadm init
on the node. I then copy down the new/etc/kubernetes/admin.conf
kubeconfig and replace KUBECONFIG local file with the contents of theadmin.conf
file.Tilt now complains about an x509 error because I have regenerated the CAs which is part of the standard process of
kubeadm reset
andkubeadm init
I would expect tilt to reload that file and was surprised when I had to kill the process and restart it.
The text was updated successfully, but these errors were encountered: