https://pulumi.com logo
#aws
Title
# aws
v

victorious-engine-64347

05/09/2022, 9:07 AM
Hi everyone. I am still getting this error. Can someone help me? I asked same question 3 days ago. previous message
s

salmon-account-74572

05/09/2022, 3:35 PM
I believe this is related to the version of
kubectl
you’re using. Are you using v1.24? I haven’t had time for in-depth testing/confirmation, but I think this may be resolved if you roll back to an earlier
kubectl
version (assuming you are able to do so).
v

victorious-engine-64347

05/09/2022, 4:05 PM
it is pulumi console. How can I update kubectl in pulumi?
s

salmon-account-74572

05/09/2022, 4:19 PM
Ah, my mistake. I was not aware this was in the Pulumi console. (I guess I should have read the original thread!)
w

witty-candle-66007

05/09/2022, 4:43 PM
@victorious-engine-64347 even though the error is displayed in the console, it is occurring where ever
pulumi up
is being executed. So, I suggest looking at that execution environment and make sure versions are up to date.
v

victorious-engine-64347

05/09/2022, 4:45 PM
@witty-candle-66007 I am using pulumi/action for
up
command.
w

witty-candle-66007

05/09/2022, 4:51 PM
Running on
ubuntu-latest
?
v

victorious-engine-64347

05/09/2022, 4:51 PM
yes
w

witty-candle-66007

05/09/2022, 4:52 PM
Regardless, maybe add this to your github actions workflow to make sure the latest kubectl is installed:
Copy code
- name: Install Kubectl
        run: |
          curl -LO <https://storage.googleapis.com/kubernetes-release/release/$(curl> -s <https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl>
          chmod +x ./kubectl
          sudo mv kubectl /usr/local/bin
Also does it run OK from your workstation - i.e.
pulumi up
from your machine as opposed to from the github actions?
v
3 Views