Kubernetes

Explain what are "Service Accounts" and in which scenario would use create/use one

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Kubernetes.io: "A service account provides an identity for processes that run in a Pod."

An example of when to use one: You define a pipeline that needs to build and push an image. In order to have sufficient permissions to build an push an image, that pipeline would require a service account with sufficient permissions.