Updating the global image pull secret
The global image pull secret ensures that your cluster has the necessary credentials to pull images. The credentials that you add to the global image pull secret depend on where you want to pull images from.
- Installation phase
- Setting up a client workstation
- Who needs to complete this task?
- A cluster administrator must complete this task.
- When do you need to complete this task?
- You must complete this task before you install Cloud Pak for Data for the first time.
Before you begin
Best practice: You can run the commands in
this task exactly as written if you set up environment variables. For instructions, see Setting up installation environment variables.
Ensure that you source the environment variables before you run the commands in this task.
About this task
Use the appropriate cpd-cli
manage
command to create or update the global image pull secret with the
appropriate credentials:
- IBM® Entitled Registry
- If you are pulling images from the IBM Entitled Registry,
the global image pull secret must contain your IBM entitlement API key.
Use the
cpd-cli manage add-icr-cred-to-global-pull-secret
command to create or update the global image pull secret. - Private container registry
- If you are pulling images from a private container registry, the global image pull secret must
contain the credentials of an account that can pull images from the registry.
Use the
cpd-cli manage add-cred-to-global-pull-secret
command to create or update the global image pull secret.
Procedure
What to do next
- If you are pulling images from the IBM Entitled Registry, you are ready to complete Installing the IBM Cloud Pak for Data platform and services.
- If you are pulling images from a private container registry, you are ready to complete Mirroring images to a private container registry.