https://pulumi.com logo
#general
Title
# general
f

future-window-78560

09/19/2021, 9:20 PM
Hi everyone! Implementing this example https://github.com/pulumi/examples/tree/master/kubernetes-py-jenkins and having the following issue. Any solutions?
b

billowy-army-68599

09/19/2021, 10:23 PM
have you set a
KUBECONFIG
locally to talk to your kubernetes cluster?
if
kubectl get nodes
works pulumi should work
f

future-window-78560

09/19/2021, 11:00 PM
Error occurs
b

billowy-army-68599

09/19/2021, 11:03 PM
do you have a kubernetes cluster set up?
f

future-window-78560

09/19/2021, 11:04 PM
yess
b

billowy-army-68599

09/19/2021, 11:04 PM
then reconfigure your
KUBECONFIG
so you can talk to it, it's not set up correctly
f

future-window-78560

09/19/2021, 11:06 PM
can you share the command for that?
I am doing in this way
Error!
b

billowy-army-68599

09/19/2021, 11:22 PM
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

future-window-78560

09/19/2021, 11:23 PM
sure sure! Thanks a lot!