Problem scenario
You have a Red Hat derivative distribution of Linux. You want to use some core Kubernetes utilities. How do you install kubectl, kubeadm, and kubelet on Linux?
Solution
1. Create a file /etc/yum.repos.d/kubernetes.repo2. Have this be the content:
[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
2. Run this: sudo yum -y install kubelet kubeadm kubectl