download kubernetes code example
Example 1: kubectl download
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl
Example 2: install kubernetes on ubuntu
sudo apt-mark hold kubeadm kubelet kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.18.0/bin/linux/amd64/kubectl
sudo apt-mark hold kubeadm kubelet kubectl