Kubernetes Cheatsheat

Download & Install Kubernetes

Create Repository

Create a new repository file:

sudo vim /etc/yum.repos.d/kubernetes.repo

And insert the below:

[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

Install kubectl

sudo dnf install kubectl