future-hair-65728
07/16/2025, 4:06 PMpulumi down
. Now i've added a Helm chart using kubernetes.helm.v4.Chart()
and now pulumi up
fails because it can not reach the controlplane API url from the previous cluster (which is deleted of course). I've added the cluster as a dependency to the chart, but that didn't helped.
Where does pulumi gets the old API url from? The stack is empty and i even tried to delete and re-create the stack, but that does not help. I can see that the API url is still in the history
and backups
directories within my local state directory when i grep
for it. But i assume that should not have any impact?future-hair-65728
07/16/2025, 4:08 PMerror: kubernetes:helm.sh/v4:Chart resource 'external-secrets' has a problem: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: Get "<https://XXX.xxx.eu-central-1.eks.amazonaws.com/openapi/v2?timeout=32s>": dial tcp: lookup XXX.xxx.eu-central-1.eks.amazonaws.com on 10.255.255.254:53: no such host
future-hair-65728
07/16/2025, 4:16 PMfuture-hair-65728
07/16/2025, 4:26 PMconst k8sProvider = new kubernetes.Provider("k8s-provider", {
kubeconfig: cluster.kubeconfig,
});
quick-house-41860
07/17/2025, 12:09 PM~/.kube/config
).
I'd recommend always defining explicit providers for your k8s resources and if possible even disabling default providers for that: https://www.pulumi.com/docs/iac/concepts/resources/providers/#disabling-default-providers