Study. uk . com
  1. Home
  2. All questions
  3. Question 604

CKA study material · question 604 of 1000

Which Secret type holds the credentials the kubelet uses to pull images from a private registry?

  1. kubernetes.io/basic-auth
  2. Opaque
  3. kubernetes.io/tls
  4. kubernetes.io/dockerconfigjson
Show the answer

Answer: D. kubernetes.io/dockerconfigjson

kubernetes.io/dockerconfigjson stores a serialized ~/.docker/config.json, which is the form an image pull Secret takes when referenced from a Pod or ServiceAccount.

Source: Secrets (Kubernetes) — Types of Secret

Challenge yourself on this topic → Study as cards