Pkgs.k8s.io repository for Red Hat based distributions for the latest release 1.31.0 has dependency issue!

Cluster information:
Kubernetes version: 1.31.0
Cloud being used: bare-metal
Installation method: RPM based repository pkgs.k8s.io
Host OS: Red Hat Enterprise Linux release 9.4 (Plow)

In a lab environment we wanted to manually test the installation of latest release of kubernetes before pushing it to the automation.
There seems to be a dependency issue in the pkgs.k8s.io repository for the latest version 1.31.0, nothing provides kubernetes-cni needed by kubelet.
Please find the screen shot as attachment.
Please check and fix the issue as soon as possible.

[root@prod-k8s-n1 ~]# cat /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.31/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.31/rpm/repodata/repomd.xml.key
[root@prod-k8s-n1 ~]#
[root@prod-k8s-n1 ~]#
[root@prod-k8s-n1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.4 (Plow)
[root@prod-k8s-n1 ~]#
[root@prod-k8s-n1 ~]# dnf install kubelet kubeadm kubectl
Updating Subscription Management repositories.
Last metadata expiration check: 0:01:13 ago on Tuesday 13 August 2024 09:39:44 PM.
Error:
Problem: cannot install the best candidate for the job

  • nothing provides kubernetes-cni >= 1.2.0 needed by kubelet-1.31.0-150500.1.1.x86_64 from kubernetes
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
    [root@prod-k8s-n1 ~]#

Thanks & Regards,
Muthukumar Subramaniam

This issue has been fixed now.
Reference :