How To Pass Docker Hub Credentials For K8S Pods

Source URL: http://blog.shippable.com/kubernetes-tutorial-how-to-pull-private-docker-image-pod

Language: shell

Created on: 2020-11-26 17:42:17

ambarishs-MacBook-Pro:gke ambarish$ kubectl create secret docker-registry private-registry-key --docker-username="devopsrecipes" --docker-password="xxxxxx" --docker-email="[email protected]" --docker-server="https://index.docker.io/v1/"secret "private-registry-key" created
How To Pass Docker Hub Credentials For K8S Pods
content_copy