Skip to content

Support multiple CLI configuration profiles #1755

@thockin

Description

@thockin

I should be able to have multiple clusters that I am auth'ed into that I can flip with a symbolic name. Having a single auth for GCE is really painful when flipping between real and e2e clusters. Having to set KUBERNETES_PROVIDER sometimes and KUBERNETES_MASTER other is somethign I easily forget.

Something like (obviously half-baked):

kubectl kube add timsgce https://1.2.3.4
kubectl kube add timse2e https://5.6.7.8
kubectl kube add vagrant

kubectl --kube=timsgce get pods
kubectl --kube=vagrant get pods

kubectl kube set timse2e
kubectl get pods

@ghodss for possible kubectl thinking.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions