metaflow
metaflow copied to clipboard
Allow to specify kubernetes context
Same as with the namespace, allow to set the target kubernetes context rather than using the current active context.
@hermesdt Thanks for the feedback! We will add that shortly.
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 ...
Hi! Any news on this one?