CKAD Prep Part 8 – Kubernetes Service Accounts

Kubernetes Service Accounts As a developer or a cluster admin, you interact with the Kubernetes apiserver via kubectl. A ServiceAccount is a Kubernetes object that allows an application running inside a Pod to access the Kubernetes apiserver. This is useful for applications that need to interact directly with the Kubernetes API, such as monitoring tools.  A ServiceAccount allows an application to talk to the apiserver securely with the appropriate permissions. A ServiceAccount is defined as follows. apiVersion: v1 kind: ServiceAccount metadata: name: sample-service-account The ServiceAccount itself is of little use unless you associate it with a set of roles. To do this you'll need to create a [...]