Kubernetes
medium

Pregunta de Kubernetes #019e3a4f

Enunciado de la Pregunta
Kubernetes
#kubernetes
#pod
#serviceaccount
#default
Medio

What service account does a Pod use in a given namespace when the service account is not specified?

A

admin

B

sysadmin

C

root

D

default

Correcto

Explicación Oficial / Explicaciones de la Comunidad

In Kubernetes, when a Pod is created without explicitly specifying a service account, it automatically uses the default service account in the same namespace. This is a built-in behavior: every namespace has a default service account that is automatically created by the API server. The Pod's service account token is mounted as a volume, allowing the Pod to authenticate with the Kubernetes API server. The admin, sysadmin, and root options are not standard Kubernetes service accounts; they do not exist by default and would need to be created manually. Therefore, the correct answer is default.