Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying The Platform Engineer's Handbook
  • Table Of Contents Toc
The Platform Engineer's Handbook

The Platform Engineer's Handbook

By : Ajay Chankramath
close
close
The Platform Engineer's Handbook

The Platform Engineer's Handbook

By: Ajay Chankramath

Overview of this book

The Platform Engineer’s Handbook equips senior engineers and DevOps professionals to deliver developer-friendly infrastructure with automation, speed, AI acceleration, and intelligence. Starting with a blank slate, you’ll build a complete, modern platform that runs locally on your laptop, learning real-world patterns as you go. In this handbook, you’ll follow a structured, progressive journey, beginning with source control governance and branching strategies, then deploying a Kubernetes-based runtime, embedding observability, and securing platform access. You’ll implement self-service onboarding, CI/CD as a service, and developer portals with Backstage. Later chapters introduce infrastructure blueprints, policy as code, FinOps observability, and AI-augmented platform services such as agent-based onboarding and copilots for pipeline creation. Each chapter combines core concepts, lab-based exercises, and production-ready best practices to provide a comprehensive understanding of the subject matter. By the end, you'll have a working MVP platform and the skills to adapt and scale it for your team or organization.
Table of Contents (21 chapters)
close
close
Lock Free Chapter
1
Part 1: Designing, Building, and Deploying the Core Engineering Platform
7
Part 2: Enhancing Productivity Through Self-Service Functions
13
Part 3: Scaling, Maturing, and Evolving Your Platform
20
Index

Shift-Left Policy Testing

Gatekeeper validates policy at admission time. However, developers shouldn't have to push their code to a cluster to find out if their manifests are compliant.

Figure 11.2 shows the progressive changes in the environments as you try and audit and enforce the policies.

Figure 11.2 - Policy enforcement layers from development to production.

Figure 11.2 - Policy enforcement layers from development to production.

Shift-left testing solves this by catching policy violations in the development process before they ever reach the cluster. Conftest [2] is a utility built on top of OPA that lets you test your Kubernetes manifest locally against policies. Developers can run it in their editor, in pre-commit hooks or in their CI/CD pipeline. As always, check the solutions section in the appendix, companion website or the GitHub repo to see how to install conftest. Once you have conftest, you can proceed to the next step of testing this out. Now, write a Rego policy file. Create a directory structure for your policies...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
The Platform Engineer's Handbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon