Installation of kubernetes on rhel 7


#1

Hi,
Can anyone share from where I can download kubernestes rpm binaries for rhel 7 as my rhel server doesn’t have internet access. Also could you please share steps of installation.
Thanks
Ankit


#2

HI @Ankit_Jain,

You can find the rpm packages here.
you can also set a yum repo with this :

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