Pod is not starting with certificate error
Issue
- Pod is not not starting with certificate error :
SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 1h 1h 1 {default-scheduler } Normal Scheduled Successfully assigned kuard-deployment-2491873853-z9pr7 to pcona16l.unix.anz 1h 4m 20 {kubelet pcona16l.unix.anz} spec.containers{kuard-deployment} Normal Pulling pulling image "172.30.105.174:5000/cpaas-dr-test/kuard:1.0.0" 1h 4m 20 {kubelet pcona16l.unix.anz} spec.containers{kuard-deployment} Warning Failed Failed to pull image "172.30.105.174:5000/cpaas-dr-test/kuard:1.0.0": Get https://172.30.105.174:5000/v1/_ping: x509: certificate is valid for 172.30.165.23, not 172.30.105.174 1h 4m 20 {kubelet pcona16l.unix.anz} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "kuard-deployment" with ErrImagePull: "Get https://172.30.105.174:5000/v1/_ping: x509: certificate is valid for 172.30.165.23, not 172.30.105.174" 1h 4s 349 {kubelet pcona16l.unix.anz} spec.containers{kuard-deployment} Normal BackOff Back-off pulling image "172.30.105.174:5000/cpaas-dr-test/kuard:1.0.0" 1h 4s 349 {kubelet pcona16l.unix.anz} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "kuard-deployment" with ImagePullBackOff: "Back-off pulling image \"172.30.105.174:5000/cpaas-dr-test/kuard:1.0.0\""
Environment
- Openshift Container Platform
- 3.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
