{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4428","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4428/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4428/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4428/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/4428","id":57644072,"number":4428,"title":"Merging .kubeconfig from multiple locations causes frustration and anger","user":{"login":"jlowdermilk","id":2101035,"avatar_url":"https://avatars.githubusercontent.com/u/2101035?v=3","gravatar_id":"","url":"https://api.github.com/users/jlowdermilk","html_url":"https://github.com/jlowdermilk","followers_url":"https://api.github.com/users/jlowdermilk/followers","following_url":"https://api.github.com/users/jlowdermilk/following{/other_user}","gists_url":"https://api.github.com/users/jlowdermilk/gists{/gist_id}","starred_url":"https://api.github.com/users/jlowdermilk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlowdermilk/subscriptions","organizations_url":"https://api.github.com/users/jlowdermilk/orgs","repos_url":"https://api.github.com/users/jlowdermilk/repos","events_url":"https://api.github.com/users/jlowdermilk/events{/privacy}","received_events_url":"https://api.github.com/users/jlowdermilk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/area/usability","name":"area/usability","color":"00cc00"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/component/CLI","name":"component/CLI","color":"0052cc"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/priority/P1","name":"priority/P1","color":"eb6420"},{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/team/UX","name":"team/UX","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-13T19:41:03Z","updated_at":"2015-02-19T07:45:55Z","closed_at":null,"body":"The fact that kubectl merges config from multiple .kubeconfig locations was neat in theory, but in practice it's surprising, confusing, and occasionally infuriating. See #4426, #4397. If it causes this much pain for k8s devs, it's likely unusable by average kubernetes users.\r\n\r\nProposal: get rid of kubectl loading from a local .kubeconfig, `--kubeconfig` flag, and `$KUBECONFIG` env var . If a user needs to overrwrite behavior, they can use the `--cluster|context|user` flags. Having N ways to load config is just too confusing.\r\n\r\ncc @deads2k, @satnam6502, @erictune "},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/75010429","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/4428#issuecomment-75010429","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/4428","id":75010429,"user":{"login":"satnam6502","id":6164339,"avatar_url":"https://avatars.githubusercontent.com/u/6164339?v=3","gravatar_id":"","url":"https://api.github.com/users/satnam6502","html_url":"https://github.com/satnam6502","followers_url":"https://api.github.com/users/satnam6502/followers","following_url":"https://api.github.com/users/satnam6502/following{/other_user}","gists_url":"https://api.github.com/users/satnam6502/gists{/gist_id}","starred_url":"https://api.github.com/users/satnam6502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satnam6502/subscriptions","organizations_url":"https://api.github.com/users/satnam6502/orgs","repos_url":"https://api.github.com/users/satnam6502/repos","events_url":"https://api.github.com/users/satnam6502/events{/privacy}","received_events_url":"https://api.github.com/users/satnam6502/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T07:45:55Z","updated_at":"2015-02-19T07:45:55Z","body":"My brain is far too small for this. I am going to alias every kube* command to `rm -rf .kubeconfig; command; rm -rf .kubeconfig` which is probably the only way I can remain sane. I don't want the identity of a cluster to be defined by overrides over dot files which to me seems like madness (but note my small brain comment, perhaps you guys have brains the size of Jupiter so it is fine for you). I want the identity of a cluster to be defined by some YAML file I can point to and provide as an argument to any kube* command."}}