corrected example for private image string format (#14283)

without specifying registry details for `image` value, You will get following error if you are using a private registry even when your private images are hosted in docker.hub and you have valid credentials configured for the same.

Failed to pull image "xxx/xxx-app:0.0.1": rpc error: code = Unknown desc = Error response from daemon: pull access denied for xxx/xxx-app, repository does not exist or may require 'docker login'
This commit is contained in:
Raja Anbazhagan
2019-06-05 03:43:53 +05:30
committed by Kubernetes Prow Robot
parent 270bae02d6
commit 8b2b09e61c
@@ -187,7 +187,7 @@ wget -O my-private-reg-pod.yaml https://k8s.io/examples/pods/private-reg-pod.yam
In file `my-private-reg-pod.yaml`, replace `<your-private-image>` with the path to an image in a private registry such as:
```none
janedoe/jdoe-private:v1
yourprivateregistry.com/janedoe/jdoe-private:v1
```
To pull the image from the private registry, Kubernetes needs credentials.