Hello everyone :wave: I am facing an issue at the...
# kubernetes
Hello everyone 👋 I am facing an issue at the moment and not sure how to approach it without debugging
binaries directly sweaty blob Before doing so, I am hoping to raise the question in hope that someone already stumbled on something similar 🙏 I have a kubernetes cluster described using pulumi. Kubernetes cluster managed by the DigitalOcean. I am using a couple of public Helm charts to deploy some custom resources, other than that the setup is pretty boring and standard: several deployments and services. Everything works OK for some time, but after a few days (roughly 7 days), I am starting seeing the following error when performing the
pulumi preview
and or `pulumi up`:
Copy code
error: 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: the server has asked for the client to provide credentials
I have tried reload the kubeconfig,
works just fine, but
is failing. Does anybody have an idea what might go wrong? Or where to look into in order to approach this? Any help would be much appreciated 🙏
For posterity, it looks like I have found the reason: https://github.com/pulumi/pulumi-digitalocean/issues/78 The reason being the DO token expiration is 7 days, although the certificate expires much later
@full-spoon-20578 thanks for tracking down the issue.