Automatically remove `flannel` and `kube-proxy`
Talos automatically setups flannel and kube-proxy, and even if you switch config to:
cluster:
network:
cni:
name: none
proxy:
disabled: true
it will not automatically remove it. User have to run:
kubectl delete -n kube-system ds kube-flannel
kubectl delete -n kube-system ds kube-proxy
Let's think how we can automate it
Hi!
Where is the talos config stored? Is it in cluster object or just rather a file somewhere?
right now I see the option only to add some extra manifest to talos config with the job that will trigger every time the config is re-applied and in this job to make a check if we need to do extra steps like
kubectl delete -n kube-system ds kube-flannel
kubectl delete -n kube-system ds kube-proxy
Where is the talos config stored? Is it in cluster object or just rather a file somewhere?
It's stored in talos api for every node, I think we would need to write special talos-controller, which would reconcile all configs with the Kubernetes