Add Docker registry credentials
To enable Cloudera Data Science Workbench to fetch custom ML Runtimes from a secure repository, as Administrator you need to add Docker registry credentials.
Create a kubectl secret named
regcred
for your secured
Docker registry. The following command creates the secret in your Kubernetes cluster:
kubectl create secret docker-registry regcred --docker-server=<server host> --docker-username=<username> --docker-password=<password> -n <compute namespace eg. mlx>
The next time the ML Runtime image is pulled, the new secret will be picked up.