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.
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.