-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Description
I use a shell variables to read all yaml in a directory and use kubectx and kubens to switch contexts.
# loads all yaml files in a dir 'config.d' to be used as kubeconfigs
export KUBECONFIG=$(ls -1 ~/.kube/config.d/*.yaml | tr "\n" ":")
# refreshes configs available to kubectl
alias rekube='export KUBECONFIG=$(ls -1 ~/.kube/config.d/*.yaml | tr "\n" ":")'This usually just works with any application but monokle does have issues and is reading multiple files at once.
Not sure if #3312 could be count as related but it's certainly also about kubeconfig configurations
VoyTechnology
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No Status