Kubernetes creation pod cannot be started in ContainerCreating state
Kubectl describe pod my-nginx-379829228-c5g9f
For "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. Details: (Get https://registry.access.redhat.com/v1/_ping: dial tcp: lookup registry.access.redhat.com on [:: 1]: 53: read udp [:: 1]: 34107-> [: 1]: 53: read: connection refused) "8m 8m 1 {kubelet 127.0.0.1} Warning FailedSync Error syncing pod Skipping: failed to "StartContainer" for "POD" with ErrImagePull: "image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. Details: (Get https://registry.access.redhat.com/v1/_ping: dial tcp: lookup registry.access.redhat.com on [:: 1]: 53: read udp [:: 1]: 54383-> [: 1]: 53: read: connection refused) "
Certificate issues are handled as follows:
Yum install-y rhsm
Wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm
Rpm2cpio python-rhsm-certificates-1.19.10-1.el7_4.x86_64.rpm | cpio-iv-- to-stdout. / etc/rhsm/ca/redhat-uep.pem | tee / etc/rhsm/ca/redhat-uep.pem