Error syncing pod,failed for registry.access.redhat.com (Kubernetes)
I encounter the same problem, and i found that i not install rhsm related software on machine, you can execute command "yum install rhsm" to solve this problem.
For me the file /etc/rhsm/ca/redhat-uep.pem was missing.I had to uninstall and reinstall docker/kubernetes on the minion to get the file back and it worked again. What a pain.
My environment is on CentOS Linux release 7.4.1708
And these rpms.
kubernetes-master-1.5.2-0.7.git269f928.el7.x86_64kubernetes-1.5.2-0.7.git269f928.el7.x86_64kubernetes-node-1.5.2-0.7.git269f928.el7.x86_64kubernetes-client-1.5.2-0.7.git269f928.el7.x86_64docker-1.12.6-71.git3e8e77d.el7.centos.1.x86_64docker-client-1.12.6-71.git3e8e77d.el7.centos.1.x86_64docker-common-1.12.6-71.git3e8e77d.el7.centos.1.x86_64
There ins no rhsm in CentOS.This post hast the alternative to rhsm for CentOS.
I met the same issue on centos 7.
yum install rhsm
is not working for me giving the following output:
Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: centos.ustc.edu.cn* extras: mirrors.zju.edu.cn* updates: centos.ustc.edu.cnNo package rhsm available.Error: Nothing to do
But yum install subscription-manager
works well for me.