hardkubectl

Create a Kubernetes secret for authenticating with a private container registry

command

kubectl create secret docker-registry REGISTRY_SECRET --docker-server SERVER --docker-username USER --docker-password PASS

also accepted

kubectl create secret docker-registry

Test your recall — not just your reading.

Practice with interactive quiz →