v

    victorious-engine-64347

    4 months ago
    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

    4 months ago
    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

    4 months ago
    it is pulumi console. How can I update kubectl in pulumi?
    s

    salmon-account-74572

    4 months ago
    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

    4 months ago
    @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

    4 months ago
    @witty-candle-66007 I am using pulumi/action for
    up
    command.
    w

    witty-candle-66007

    4 months ago
    Running on
    ubuntu-latest
    ?
    v

    victorious-engine-64347

    4 months ago
    yes
    w

    witty-candle-66007

    4 months ago
    Regardless, maybe add this to your github actions workflow to make sure the latest kubectl is installed:
    - 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