Kubernetes

Create a secret to get a private image from DockerHub and set it in the deployment

kubectl create secret docker-registry regcred --docker-username=<username> --docker-password="<password>" --docker-email=<email> -n <namespace>
spec:
  containers:
    imagePullSecrets:
      - name: regcred