bulky-artist-13104
05/29/2022, 9:48 PMcue
and yaml
in general. I'm trying to build out a simple kubernetes cluster using AWS provider while using the cue
compiler option. I started from the basic example provided on the pulumi-yaml
project. When attempting to bring up the resources, I wanted to connect to the cluster with my local kubectl
install. I ran into an error getting credentials: exec plugin is configured to use API version <http://client.authentication.k8s.io/v1beta1|client.authentication.k8s.io/v1beta1>, plugin returned version <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
. I looked at the detailed output from Pulumi, and it seems to be creating the kubeconfig
file with ``client.authentication.k8s.io/v1beta1`` instead of <http://client.authentication.k8s.io/v1alpha1|client.authentication.k8s.io/v1alpha1>
. I installed different versions of kubectl
and kubectl 1.21
works so far for me where I can connect, but it doesn't list in resources, since Pulumi failed to finish the rest of the resources. I'm not sure if this is the correct place to ask for help.orange-policeman-59119
05/31/2022, 7:26 PMbulky-artist-13104
05/31/2022, 8:30 PMv1beta1
but it seems upgrading my aws cli managed to ignore or rewrote v1beta1
to v1alpha
when I was able to connect the cluster to my local machine. but good to know that it is being tracked.