millions-judge-24978
08/23/2022, 6:58 PMk8s.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
.billowy-army-68599
getClusterOutput
will return the:
certificateAuthority data : https://www.pulumi.com/registry/packages/aws/api-docs/eks/cluster/#data_nodejs
endpoint: https://www.pulumi.com/registry/packages/aws/api-docs/eks/cluster/#endpoint_nodejs
You can use that to generate your own kubeconfig: https://github.com/pulumi/examples/blob/258d3bad0a00020704743e37911c51be63c06bb4/aws-py-eks/utils.py#L4-L39millions-judge-24978
08/23/2022, 7:30 PMpulumi/eks
, since it does all this already.billowy-army-68599