More fun with pulumi-eks and the pulumi-kubernetes...
# kubernetes
f
More fun with pulumi-eks and the pulumi-kubernetes-operator -
Unable to connect to the server: 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 was able to fix this error locally by updating to a newer version of the awscli. I can't seem to find where this is defined for the pulumi containers. Any thoughts on a workaround, and/or should I file an issue somewhere for this?
b
you also have to updated the eks version
f
I don't think I know what that means.
b
in your project's
package.json
- update to the latest version of pulumi-eks (sorry for saying awsx, should have been eks)
f
Got it, thanks! I'm using go, and I definitely have the latest version of that (ran a go get -u) today. Locally, it works great. It's when the operator tries to run it that I'm having issues.
b
which pulumi container are you using?
just the operator?
f
pulumi/pulumi-kubernetes-operator:v1.6.0
b
yeah okay, we need to update the pulumi base container
f
Thanks!
q
Hey @flat-laptop-90489, how's things? 😀
f
Great as always! 😄 Excited to be getting to do more Pulumi
💯 1
You certainly seem to be busy these last couple weeks. How're things for you?
q
Currently isolating in a spare room at home and my office, incase I brought COVID back from KubeCon; besides that glad to be making content again and teaching 😀
👌 1
f
Is there any chance of getting this issue prioritized, or is there a PR I can make? This is making the operator essentially unusable for us right now. https://github.com/pulumi/pulumi-docker-containers/issues/87 Thanks in advance!
g
I've pinged some of the maintainers to see if I can get you some more guidance on making a PR. More info as soon as I can find it
o
Hey @flat-laptop-90489, yes, definitely. It looks like we track the latest release of the CLI from this download, and we just pushed a freshly built image a few minutes ago, let me check what version of the CLI we have.
🎉 1
q
Awesome 👍
f
Okay, cool. I was looking in the right place 😄
o
If I need to kick a build off of the operator, I'll take care of that too. Our kitchen sink image is quite large so even on fast internet, give me a moment to pull down latest 🙂
f
no rush. Thanks for the responses!
o
This is what I get when I run
aws --version
on the latest
pulumi/pulumi
image:
Copy code
aws --version
aws-cli/2.7.7 Python/3.9.11 Linux/5.10.102.1-microsoft-standard-WSL2 exe/x86_64.debian.11 prompt/off
Now checking
pulumi/pulumi-kubernetes-operator:latest
@flat-laptop-90489 it looks like operator
:v1.7.0
, current latest, has an updated CLI as well!
2.7.6 in the operator, it was built just a few days ago.
f
Oh awesome. Thank you!
drowning in github notifications and missed the release 😭
o
tell me about it 😆
g
thanks, @orange-policeman-59119!