You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configuring Nodes to Authenticate to a Private Registry (all pods can read any configured private registries, requires node configuration by cluster administrator)
Pre-pulled Images (all pods can use any images cached on a node, requires root access to all nodes to setup)
Specifying ImagePullSecrets on a Pod (only pods which provide own keys can access the private registry)
Vendor-specific or local extensions (if you're using a custom node configuration, you (or your cloud provider) can implement your mechanism for authenticating the node to the container registry.)
We may even go further and check if the provided credentials are valid. But do we really want operators to issue an authentication request to the container registry from the client? Maybe we can have a special flag that enables this check and provide a help message to try with that flag to test.
These checks should be skipped if the imagePullPolicy property of the container is set to Never. This case needs to be explicitly covered.
The text was updated successfully, but these errors were encountered:
The image we are trying to retrieve could be from a private registry, and workload may not have credentials provided anywhere.
This case is covered in:
Common paths to find the credentials are:
pod.spec.imagePullSecrets
, can also be auto-populated by the pod'sServiceAccount.imagePullSecrets
pod.spec.containers.imagePullSecrets
We may even go further and check if the provided credentials are valid. But do we really want operators to issue an authentication request to the container registry from the client? Maybe we can have a special flag that enables this check and provide a help message to try with that flag to test.
These checks should be skipped if the
imagePullPolicy
property of the container is set toNever
. This case needs to be explicitly covered.The text was updated successfully, but these errors were encountered: