How to upgrade kubectl client version

前端 未结 8 1353
滥情空心
滥情空心 2020-12-24 06:39

I want to upgrade the kubectl client version to 1.11.3.

I executed brew install kubernetes-cli but the version doesnt seem to be updating.



        
8条回答
  •  梦谈多话
    2020-12-24 06:53

    My docker desktop used an old version of kubectl. After installing gcloud components install kubectl the installer yields a warning of the location of the outdated kubectl version:

    WARNING: There are older versions of Google Cloud Platform tools on your system PATH. Please remove the following to avoid accidentally invoking these old tools:

    /Applications/Docker.app/Contents/Resources/bin/kubectl

    I have removed the folder and kubectl run fine.

提交回复
热议问题