k8wiz
Kubernetes
Medium
Security

What is the purpose of a ServiceAccount in Kubernetes?

Select your answer:

Show answer and explanation

Answer: To provide an identity for processes running in a pod

Explanation

ServiceAccounts provide an identity for processes running in a pod. They are used to control which resources the pod can access through the Kubernetes API. Each namespace has a default ServiceAccount, but custom ones can be created for more fine-grained access control.

Read more about Kubernetes