What is a Kubernetes service account?
Experience Level: Junior
Tags: Kubernetes
Answer
A service account provides an identity for processes that run in a Pod.
Processes in containers inside pods can contact the Kubernetes apiserver. When they do, they are authenticated as a particular Service Account (for example, default).
When you create a pod, if you do not specify a service account, it is
automatically assigned the default service account in the same namespace.
Related Kubernetes job interview questions
What command can you use to get the address of the Kubernetes control plane and cluster services?
Kubernetes JuniorHow do you assign a custom service account to a Kubernetes pod?
Kubernetes JuniorHow do you list Kubernetes service accounts?
Kubernetes JuniorHow do you create a Kubernetes job job1 with image busybox that will be executed 3 times and maximum of 2 job instances will run in parallel? The command executed in a job should be sleep 10 && echo "Hello world"
Kubernetes MediorHow can you display a list of Kubernetes pods that will automatically rerender when a pod status changes?
Kubernetes Junior