File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
content/en/docs/tasks/configure-pod-container Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -210,6 +210,31 @@ kubectl apply -f my-private-reg-pod.yaml
210
210
kubectl get pod private-reg
211
211
` ` `
212
212
213
+ {{< note >}}
214
+ In case the Pod fails to start with the status `ImagePullBackOff`, view the Pod events :
215
+ ` ` ` shell
216
+ kubectl describe pod private-reg
217
+ ` ` `
218
+
219
+ If you then see an event with the reason set to `FailedToRetrieveImagePullSecret`,
220
+ Kubernetes can't find a Secret with name (`regcred`, in this example).
221
+ If you specify that a Pod needs image pull credentials, the kubelet checks that it can
222
+ access that Secret before attempting to pull the image.
223
+
224
+ Make sure that the Secret you have specified exists, and that its name is spelled properly.
225
+ ` ` ` shell
226
+ Events:
227
+ ... Reason ... Message
228
+ ------ -------
229
+ ... FailedToRetrieveImagePullSecret ... Unable to retrieve some image pull secrets (<regcred>); attempting to pull the image may not succeed.
230
+ ` ` `
231
+
232
+
233
+ {{< /note >}}
234
+
235
+
236
+
237
+
213
238
# # {{% heading "whatsnext" %}}
214
239
215
240
* Learn more about [Secrets](/docs/concepts/configuration/secret/)
You can’t perform that action at this time.
0 commit comments