Focus on chapters 9, 10, 12, 13, and 14, then run through every manifest hands-on using the companion example repository.

Kubernetes: Up and Running · Brendan Burns ·
Key Takeaways
- The third edition has 328 pages, 22 chapters plus Appendix A, with the ebook released on August 2, 2022
- For FDEs, read chapters 9, 10, 12, 13, and 14 first, covering everything from ReplicaSet to RBAC
- In RBAC, update and patch are two separate permissions: without patch, a Role may block exactly the deployments it was meant to allow
Imagine your first week at a large enterprise customer. They won't give you cluster-admin access, only a single namespace, and they ask just one question: what permissions does your application need, and why?
To answer that question well, you need to understand Kubernetes from the inside out. *Kubernetes: Up and Running* has a chapter devoted to exactly this. Published by O'Reilly, the third edition ebook was released on August 2, 2022, with 328 pages, written by Brendan Burns, Joe Beda, and Kelsey Hightower; some distribution channels also list Lachlan Evenson.
The book's introduction opens by saying that Kubernetes has drastically changed the way developers and operations personnel build, deploy, and maintain applications in the cloud. That is exactly the daily work of a Forward Deployed Engineer (FDE): delivering software onto someone else's infrastructure.
But the book has 22 chapters plus Appendix A, and reading it cover to cover is the easiest way to give up halfway. A better approach is to read it in the order of the problems you'll encounter at customer sites.
Jump straight to chapter 9 and read through chapter 13
If you already know the basics of using Kubernetes, don't start from page one. The book's value lies in the middle: chapter 9 covers ReplicaSet, chapter 10 covers Deployment, chapter 12 covers Job, and chapter 13 covers ConfigMap and Secret together. Specialized objects like DaemonSet, Job, ConfigMap, and Secret are explicitly listed among the book's main learning objectives.
The reasons to read these chapters closely are practical. When an application fails to start in a customer's cluster, these are exactly the objects you'll troubleshoot one by one: Did the Deployment roll out successfully? Is the ReplicaSet's Pod count sufficient? Was the configuration loaded from the ConfigMap?
Don't just read. The official example repository
kubernetes-up-and-running/examples
is licensed under Apache-2.0, with files named by chapter number, such as
5-1-kuard-pod.yaml
. The README doesn't state which edition the repository corresponds to, so when a manifest doesn't match the book's content, treat it as a debugging exercise rather than a reason to give up.
The book's demo application is called kuard. It comes with a synthetic workload that generates 4096-bit RSA keys to simulate a batch worker; an in-memory queue with a REST API; and versions named by color instead of numbers. This lets you practice deployments, batch jobs, and work queues without writing your own application.
One concrete exercise: deploy kuard with a Deployment, switch to another color version to watch the rollout, then delete a Pod and watch the ReplicaSet recreate it. Next, run the key-generation workload as a Job, and move the configuration into a ConfigMap. A single exercise covers four chapters (9, 10, 12, 13).
RBAC is the chapter you bring to the negotiating table
Chapter 14, "Role-Based Access Control for Kubernetes," is the chapter an FDE should finish before the first meeting, because it answers exactly that opening question.
Two ways of requesting permissions lead to very different conversations. Asking directly for cluster-admin to "keep things simple" often makes the security team hesitate, because they can't see what you'd do with such broad access. The alternative is to send over a Role that only applies within the namespace assigned to you, with a one-line justification attached to each group of permissions.
The easiest detail to get wrong is the verbs. The Kubernetes documentation maps HTTP PUT to the
update
verb, and HTTP PATCH to a separate verb,
patch
so having
update
doesn't mean you can patch. Requests sent by Server-Side Apply are PATCH. Therefore, a Role missing
patch
may block exactly the deployments it was meant to allow.
Taking the kuard application above as an example, suppose it runs in a namespace named
kuard-demo
:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: kuard-deployer
namespace: kuard-demo
rules:
# 自行发布 kuard 新版本(server-side apply 发送的是 PATCH,所以也需要 patch)
- apiGroups: ["apps"]
resources: ["deployments"]
verbs: ["get", "list", "create", "update", "patch"]
# 运行并清理 RSA 密钥生成 Job
- apiGroups: ["batch"]
resources: ["jobs"]
verbs: ["create", "delete", "get", "list"]
# 调试时查看 Pod 状态
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list"]
# 修改应用配置
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "update", "patch"]This Role isn't bound to anyone yet; you'll also need a RoleBinding pointing to the account that will use it. Before sending it, test the Role exactly as written on a local cluster: an apply rejected on your own machine costs far less than one rejected during a customer demo.
A request like this gives the security team enough information to make a decision, and shows that you understand their systems. Trust starts with this kind of request. The chapters after 14 and Appendix A can wait until the customer's systems actually involve those topics.
Turn the chapters into a line on your resume
If your goal is an FDE role, don't stop at finishing the book. Save the output of every chapter in a repository: the kuard manifests, the key-generation Job, the ConfigMap, and a Role scoped to a namespace with a justification for every verb.
Use one line on your resume to state clearly what you did, for example: Deployed an application with batch workers to Kubernetes using only minimal RBAC permissions within a single namespace. A line like this will lead interviewers to dig deeper, such as asking why you need
update
in addition to
patch
—and you'll have a ready-made repository to show.
This book has been out for several years. But the question in chapter 14 is one every customer will eventually ask you.
Was this article helpful?
Thanks for your feedback!