This message was deleted.
# general
s
This message was deleted.
w
cc @creamy-potato-29402 This error looks like it will happen when the
kubeconfig
cannot be found - meaning it isn't available in provider configuration and can't be found ambiently from the environment. Are you providing configuration via
new kubernetes.Provider(...)
?
c
That's right
Client go is failing to get a kube config file
w
@creamy-potato-29402 Any tips on how to diagnose why this would be happening?
c
It is ought to be fairly straight forward: KUBECONFIG env var is not set, and there is no kubeconfig at ~/.kube/config
w
Oh.... wait let me try that. Any way to repro this locally? That way I can rinse-repeat without pushing out to github. I assume my ~/.kube/config is being picked up locally, and deleting that should repro this?
c
It should
I suspect you're not using the eks provider though
So when deploying locally you are just deploying to the active context in your kubeconfig