Installation of kubernetes on rhel 7

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

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

hi @ameukam This yum repository expose the metadata for all packages and provides a link to reach to google public yum repository to download the rpms.

I believe we need to have a way for these rpms to be hosted internally in local yum repositories as in some of the security organisations the environment won’t have internet on the servers so this needs to be figured out differently.

I was able to configure my own repository and I downloaded static binaries and their dependency locally and using that for my deployment.

1 Like