build-a-platform-with-krm icon indicating copy to clipboard operation
build-a-platform-with-krm copied to clipboard

Build a platform with the Kubernetes resource model!

This repository contains the demos for the "Build a Platform with KRM" series.

These demos can be completed standalone - all you need is a Google Cloud project and a GitHub account.

Get started here!

What you'll build

screenshot

Contents

⏱ Note - the estimated time to complete the demos is 9 hours. The demos do not have to be completed all at once, but each demo must be completed in order.

🚧 Demo 1 - Setup (blog post)

  • 1 - Setup

☸️ Demo 2 - How KRM Works (blog post)

  • Part A - Setup
  • Part B - Introducing the Kubernetes Resource Model
  • Part C - The Cymbal Bank App
  • Part D - Deploying Cymbal Bank to GKE with Cloud Build

πŸ’» Demo 3 - App Development with KRM (blog post)

  • Part A - Setup
  • Part B - Add an Application Feature
  • Part C - Test the feature
  • Part D - Create a Pull Request
  • Part E - Merge the Pull Request
  • Part F - Continuous Deployment

πŸ›  Demo 4 - Administering KRM with Config Sync and Policy Controller (blog post)

  • Part A - Installing Config Sync and Policy Controller
  • Part B - Keeping Resources in Sync
  • Part C - Creating Cluster-scoped Resources
  • Part D - Using Policy Controller to Block External Services
  • Part E - Creating Custom Policies
  • Part F - Integrating Policy Checks into CI/CD

☁️ Demo 5 - Managing Cloud-hosted Resources with KRM (blog post)

  • Part A - Introducing Config Connector
  • Part B - Enforcing Policies on Cloud-Hosted Resources
  • Part C - Managing Existing Cloud Resources with Config Connector
  • Cleanup

Products and Tools Used

Google Cloud

Open-Source