Hi, is there any example on how to generate a `k8s...
# kubernetes
m
Hi, is there any example on how to generate a
k8s.Provider
for an existing EKS cluster? I would like to be able to do something like
eks.getClusterOutput({...}).provider
, as I would be able to if I had just created with
new eks.Cluster({...}).provider
. Failing that, at least how I can generate the
kubeconfig
file text from
eks.getClusterOutput().something
.
Most examples are just pulling in the kubeconfig via a stack reference from elsewhere.
b
m
Thanks! Definitely seems like something that would be a great feature exposed from
pulumi/eks
, since it does all this already.
b
pulumi/eks manages creating a cluster and exports a kubeconfig. I don’t expect we’ll add support for existing clusters to that