Kubernetes · Resource
ServiceAccount
A ServiceAccount is a namespaced identity for processes running in Kubernetes Pods. Use it with RBAC to control API access and with Pod settings to provide credentials.
Last updated
- Since
- v1.22 for projected, short-lived ServiceAccount token volume
Syntax
apiVersion: v1
kind: ServiceAccount
metadata:
name: <name>
namespace: <namespace>In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Pod.spec.serviceAccountNameRoleRoleBindingTokenRequest APITokenReview APIimagePullSecrets