https://kubernetes.io/docs/concepts/security/service-accounts
What are service accounts?
Service Account 是用于非人类用户,在 Kubernetes 集群中提供唯一身份的标识。Application Pods、系统组件和集群内外的实体可以使用 Service Account 的凭据标识自己为该 Service Account。
Service accounts 不同于普通账户(user accounts),普通账户是指已经登录集群的人类用户。普通账户默认不存在集群 API Server;相对的,API Server 将普通账户视为不透明数据。
| Description | ServiceAccount | User or group |
|---|---|---|
| Location | Kubernetes API (ServiceAccount object) | External |
| Access control | Kubernetes RBAC or other authorization mechanisms | Kubernetes RBAC or other identity and access management mechanisms |
| Intended use | Workloads, automation | People |