This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
kubernetes-helm container installs an old version of kubectl #79
Labels
bug
Issue identified by VS Code Team member as probable bug
Steps to Reproduce:
kubectl version
results withClient Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.0", GitCommit:"fff5156092b56e6bd60fff75aad4dc9de6b6ef37", GitTreeState:"clean", BuildDate:"2017-03-28T16:36:33Z", GoVersion:"go1.7.5", Compiler:"gc", Platform:"linux/amd64"}
This is an old version which has some bugs like this SIGSEGV one. The latest stable version should be v1.14.3.
This is due to this way of installation:
https://github.com/microsoft/vscode-dev-containers/blob/2002d518b4162cb39fb4585e7a43db824094064d/containers/kubernetes-helm/.devcontainer/Dockerfile#L25:L28
Probably better to install kubectl following the instructions on the official website:
https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl-on-linux
With a new Dockerfile old documentation should be updated as well:
https://github.com/microsoft/vscode-dev-containers/blob/master/containers/kubernetes-helm/README.md
The text was updated successfully, but these errors were encountered: