refined-pilot-45584
07/17/2023, 4:49 PMerror: an unhandled error occurred: program failed:
waiting for RPCs: failed to invoke helm template: rpc error: code = Unknown desc = invocation of kubernetes:helm:template returned an error: failed to generate YAML for specified Helm chart: could not get server version from Kubernetes: Get "<https://34.65.53.155/version?timeout=32s>": dial tcp 34.65.53.155:443: connect: connection timed out
I am not sure if this is just a Rookie Mistake but I am trying to Apply a Helm chart to a GKE Cluster that is created in the Same Stack; The dependancies are there in place and the Charts are Local. But I don’t know why I am getting the issue?salmon-account-74572
07/17/2023, 4:51 PMrefined-pilot-45584
07/17/2023, 4:56 PMsalmon-account-74572
07/17/2023, 4:59 PMrefined-pilot-45584
07/17/2023, 5:00 PMrefined-pilot-45584
07/17/2023, 5:01 PMsalmon-account-74572
07/17/2023, 5:02 PMimport * as k8s from "@pulumi/kubernetes";
const k8sProvider = new k8s.Provider("new-k8s-provider", {kubeconfig: cluster-config});
And then you’d reference k8sProvider
when you define the Kubernetes/Helm objects. And yes, if you aren’t creating an explicit provider, then it’s using the default provider, which in turn is using your local configuration to determine endpoint and such.stocky-restaurant-98004
07/17/2023, 5:19 PMrefined-pilot-45584
07/17/2023, 7:07 PMsalmon-account-74572
07/17/2023, 7:21 PM