Skip to main content

Kubernetes Secrets

Docker Registry Secrets

0:00
LearnStep 1/2

Registry Credentials

Docker Registry Secrets

To pull images from private registries, you need to create a Secret with your registry credentials.

Creating Docker Registry Secret

bash

Using imagePullSecrets in Pod

yaml

Using imagePullSecrets in Deployment

yaml

Adding to Service Account

bash
yaml