Q: before creating a cluster a provider obviously ...
# general
a
Q: before creating a cluster a provider obviously isn’t valid and until
doctl kubernetes cluster kubeconfig save $CLUSTER_NAME
has been run (manually) instructions such as
new kubernetes.yaml.ConfigFile("cert-manager", {file: ...}
seem to fail (error: unable to load Kubernetes client configuration from kubeconfig file: invalid configuration: no configuration has been provided). Is there a recommended way around that?
✔️ 1
l
I usually create the cluster in project A and use the cluster in project B. So not in the same project.
e
@adorable-sugar-92867 usually you construct kubeconfig from cluster resource and create new k8s provider
a
yes, Seem I forgot to add a provider as third param to those instructions… After doing that Pulumi is able to perform it’s magic 👍