Skip to main content

Part V — Deployment & Operations

Parts I to IV use the lab as make all builds it. This Part is for the cluster you build and run yourself. You install the Strimzi operator first, then Kafka, then Kates. After that come the jobs a running cluster brings: securing it, letting other teams onto it, upgrading it, and moving data in, out or across.

You don’t read this Part straight through, and Parts II to IV don’t need any of it. Read the first group of chapters on the day you stand up a cluster, in the order you install things. Each of the other groups starts with the job that sends you to it.

Build It

Read these when you stand up a cluster. The operator comes first, because without its CRDs a Kafka resource is inert. Installing Kafka is the step-by-step walkthrough, and Kafka Deployment Engineering gives the reason behind each of its numbers. The Deployment Guide then installs the Kates stack beside the cluster, standalone by default or under the Kates operator, which the next chapter explains, and Compliance Checks holds what you built to the architecture you meant to build.

To practise the install, Tutorial 8 — Deploy, Detect & Clean checks a cluster with kates detect, deploys the stack with the interactive kates deploy -i, and removes it with kates clean.

Share and Change It

Read these when another team asks for space on the cluster, or when a new Kafka, Strimzi or Kates version is out. The Upgrade Playbook uses Kates to check its own work: you record a baseline, upgrade, run the same tests again and compare.

  • Security & Compliance: who can reach the cluster, with which rights, and how do you audit that? About 30 minutes.
  • Multi-Tenancy: how does the payments platform share krafter with the tenants already on it without getting in their way? About 10 minutes.
  • Upgrade Playbook: in what order do you upgrade each component, and how do you know you can still roll back? About 15 minutes.

Tutorial 7: Kyverno & Security goes with Security & Compliance: it manages the Kyverno admission policies and runs a security audit.

Extend and Replicate It

Read these when you move data into or out of Kafka, or from one cluster to another. MirrorMaker 2 runs as a Kafka Connect cluster, so the Connect chapters come first. If you run neither Connect nor MirrorMaker 2, skip all four.

For Connect, Tutorial 9: Kafka Connect Working Examples (CDC + JDBC) builds a Debezium CDC pipeline and JDBC connectors, and the Kafka Connect Source/Sink Quick Runbook follows one row from PostgreSQL through Kafka to a replica table. For MirrorMaker 2, start with Tutorial 10: Installing and Setting Up MirrorMaker 2. Then rehearse a migration on Kind with Tutorial 11: Migrating Kafka 2.x to 4.x with MirrorMaker 2 or Tutorial 12: Migrating Kafka 3.x to 4.x with MirrorMaker 2.

Put It Together

Read the last chapter when you need a whole procedure, such as validating an upgrade or signing krafter off for payments. It closes this Part but draws more on Parts II and III, because each recipe chains their commands from start to finish.

  • Recipes & Patterns: how do you validate an upgrade, run a nightly regression suite or certify resilience, from start to finish? About 5 minutes.

Tutorial 6: CI/CD Integration goes with Recipes & Patterns: it turns performance, integrity and chaos checks into pipeline gates, and schedules nightly runs.

The Payments Question

This Part moves the payments question from the lab to a cluster you run. Compliance Checks writes the architecture the payments workload needs into payments-krafter.yaml and holds krafter to it. In Multi-Tenancy a tenant is one block of kafka-cluster chart values in tenants.yaml, applied with one helm upgrade, and the payments workload becomes the payments tenant: a payments-events topic and a KafkaUser with prefix ACLs on payments. The Upgrade Playbook’s re-test is payments-scenarios.yaml, run before and after an upgrade, and kates report diff <pre-id> <post-id> compares the two runs. On your own cluster the answer comes from the same gates, grades and verdicts as in Parts II and III, and Recipe 8: Sign Off krafter for Payments gathers them into the readiness sign-off.

Back to top