The concept of an ImagePullSecret is similar to the one native to Kubernetes. An ImagePullSecret is an authorization token (or "secret") that stores Docker credentials that are used to access a registry. If your application uses private image(s), ECP clusters will require such an ImagePullSecret so as to authenticate with your container registry when pulling your private image(s) from there. You do not need to create the ImagePullSecret in ECP clusters. All you need to do is to pass the registry address and your registry account to the ECP. The ECP API server, in turn, creates a corresponding ImagePullSecret in the ECP clusters where your application will be deployed.
Observe the following guidelines:
ImagePullSecret
is required only if your containerized application uses image(s) stored in a private repository. Pulling an image from a public repository does not require registry authentication, so no ImagePullSecret
is needed.ImagePullSecret
before configuring and deploying the application. Otherwise, the subsequent image pull will fail. ImagePullSecret
representing the info passed. The ECP API server does not validate the registry address and account. You are responsible for the accuracy and validity of this information. An ImagePullSecret
with invalid registry information causes image pulls to fail.ImagePullSecrets are managed from the ImagePullSecrets page. To display this page, click ImagePullSecrets in the left pane.
The following figure shows the key elements on the page, and the table following the figure describes them.
Fields | Description |
---|---|
1 | To filter ImagePullSecrets, type characters in this field and then press the Enter key. All ImagePullSecrets that do not contain the typed characters are hidden. Filtering is not case-sensitive. To remove the filter, click the Reset button. |
2 | Each ImagePullSecret appears on its own row. Clicking an ImagePullSecret allows you to view more information about the ImagePullSecret. |
3 | The Actions drop-down list on each row has options to update or delete an ImagePullSecret. |
4 | The + Add New ImagePullSecret button allows you to add ImagePullSecrets. |
Note: ImagePullSecrets automatically created for your ECP register users (if any) are also shown on the list. Such ImagePullSecrets are managed by the ECP and cannot be updated or deleted.