--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@kubernetes.io.
To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/CAPvcVKZdDxqJAPBdmjm9qN%2BUWckHPTmsuUiJEKFUmo4YcdkZyg%40mail.gmail.com.
However, the question was also asked if we wanted to remove file locking entirely, since the general guidance is to not make concurrent changes to kubeconfig.
To echo what Ben said, there is a lot of tooling out there that interacts with the '/etc/kubernetes/admin.kubeconfig', from home grown terraform/ansible scripts to various other projects and products that do k8s cluster lifecycle management.I think prematurely removing support for the file locking without having some type of a deprecation period and alternative for users that are relying on it for avoiding external tooling (and local users) from stepping on each other.--Jason DeTiberusOn Wednesday, February 9, 2022 at 5:51:09 PM UTC-5 Benjamin Elder wrote:FWIW, I think it would be easier to phase out locking if we had better support for multiple kubeconfig files and split out the current context (https://github.com/kubernetes/kubectl/issues/569#issuecomment-1033123302), but I don't think there's any progress on this.Right now, I'm not sure how software like sigs.k8s.io/kind should prevent merging bugs without locking.We could just write to many distinct files ourselves, but users expect clusters to "just work" and be configured without setting `KUBECONFIG=foo:bar:baz` and a number of deployment tools are writing to kubeconfig with client-go today.
To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/CANw6fcH_OVSP_OnA%3DfoWmXhb7_sbJ3Gz_YbpfCrns70rCLK-vw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@kubernetes.io.
To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/535faebb-567c-4ecd-b838-57d7032e457fn%40kubernetes.io.
To view this discussion on the web visit https://groups.google.com/a/kubernetes.io/d/msgid/dev/CANw6fcH_OVSP_OnA%3DfoWmXhb7_sbJ3Gz_YbpfCrns70rCLK-vw%40mail.gmail.com.