Authenticate to a private registry.
Section: Pods and Containers
Use imagePullSecrets
yaml
yaml
spec:
imagePullSecrets:
- name: regcred
containers:
- name: app
image: registry.example.com/app:1.2.3Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Pods and Containers
Override container command and args
Set entrypoint-style command in YAML.
Set explicit environment variables
Define environment variables with `env`.
Load env from ConfigMap and Secret
Import environment values into a container.
Expose named container ports
Name ports for Service targeting and probes.