Your First ServiceAccount
Give a workload an identity of its own, find the token inside the running container, then take it away entirely.
Skill labbeginner~20 minPro
What you'll do
- ✓Explain what a ServiceAccount is, and what it deliberately is not
- ✓Run a Pod under a ServiceAccount you created
- ✓Find the projected token inside a running container
- ✓Stop a Pod from receiving a token at all
Lab outline
- 01Every request has an identity
- 02An identity you can withhold
Before you start
- Comfortable creating Pods and namespaces with kubectl
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.