Hi everyone! Implementing this example <https://gi...
# general
f
Hi everyone! Implementing this example https://github.com/pulumi/examples/tree/master/kubernetes-py-jenkins and having the following issue. Any solutions?
b
have you set a
KUBECONFIG
locally to talk to your kubernetes cluster?
if
kubectl get nodes
works pulumi should work
f
Error occurs
b
do you have a kubernetes cluster set up?
f
yess
b
then reconfigure your
KUBECONFIG
so you can talk to it, it's not set up correctly
f
can you share the command for that?
I am doing in this way
Error!
b
which cluster do you want to deploy to? your current context is
docker-desktop
which is the local one if you want to switch to the GKE cluster, you'll need to do
kubectl config use-context <your cluster name>
unfortunately this is well out of the scope of Pulumi, and if you're struggling with this I'd recommend following a "getting started with kubernetes" guide
f
sure sure! Thanks a lot!