QuestionQ268

VerifiedKubernetes Fundamentals

How can a Pod be set up to use a ServiceAccount for authenticated access to the API?

Explanation

A Pod selects its ServiceAccount by setting spec.serviceAccountName. Kubernetes makes that account’s credentials available to the containers through an automatically mounted ServiceAccount token volume, which the workload can use to authenticate to the Kubernetes API.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!