metaflow icon indicating copy to clipboard operation
metaflow copied to clipboard

Allow to specify kubernetes context

Open hermesdt opened this issue 3 years ago • 1 comments

Same as with the namespace, allow to set the target kubernetes context rather than using the current active context.

hermesdt avatar Nov 25 '21 20:11 hermesdt

@hermesdt Thanks for the feedback! We will add that shortly.

savingoyal avatar Jan 05 '22 17:01 savingoyal

I would also like this functionality. In case anyone else needs a workaround, you can always export a single context and then set your kubeconfig file. It would be nicer to not have to do that tho.

kubectl --context my-context config view --minify --flatten > $HOME/.kube/config-my-context
KUBECONFIG=$HOME/.kube/config-my-context python ...

dhpollack avatar Jan 13 '23 12:01 dhpollack

Hi! Any news on this one?

alvaro-quiqup avatar Apr 12 '23 09:04 alvaro-quiqup