/
Install kubectl

Install kubectl

Install Kubernetes from Scratch on vagrant box

Github vagrant  install; https://github.com/mmumshad/kubernetes-the-hard-way



Check the latest:   https://kubernetes.io/docs/tasks/tools/install-kubectl/
Ubuntu
sudo snap install kubectl --classic
kubectl version --client

Centos:

centos
cat <<EOF > /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
EOF
yum install -y kubectl



Related content

Kubernetes from a vagrant box flixtech/kubernetes
Kubernetes from a vagrant box flixtech/kubernetes
More like this
Create POD and Container with kubectl
Create POD and Container with kubectl
More like this
Install kubernetes
Install kubernetes
More like this
Kubernetes k8s main page
Kubernetes k8s main page
More like this
Install Netbox container
Install Netbox container
More like this
kubernetes master and worker on AWS
kubernetes master and worker on AWS
More like this