Unable to Install Kubernetes on Red Hat 8.4 - Repo Not Found (404)

Hello everyone,

I’m encountering an issue while trying to install Kubernetes on a Red Hat 8.4 system. During the installation process, I’m getting a 404 error, indicating that the repository cannot be found.

Here’s the relevant part of my repo file:

[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

It seems like the base URL for the repository is no longer valid or is not compatible with Red Hat 8.4. Has anyone faced a similar issue or know how to resolve this?

Any help or guidance would be greatly appreciated. Thanks in advance!