deploying-kafka-k8s

Deploy Kafka clusters on Kubernetes using Strimzi with KRaft mode.

27|11|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill deploying-kafka-k8s
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploying-kafka-k8s
Source: https://github.com/mjunaidca/mjs-agent-skills/tree/main/.claude/skills/deploying-kafka-k8s
Command: npx skills add https://github.com/mjunaidca/mjs-agent-skills --skill deploying-kafka-k8s

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Deploy production-grade Apache Kafka on Kubernetes using the Strimzi operator with KRaft mode, including topic management and producer/consumer testing.

Core Features & Use Cases

  • Strimzi Operator Install: run operator to manage Kafka clusters.
  • Kafka Clusters: single-node development to multi-node production setups.
  • Topic Management: create, list, describe topics; manage ACLs if needed.
  • Producer/Consumer Testing: validate end-to-end messaging flows.

Quick Start

Install Strimzi, deploy a Kafka cluster manifest, and test with kubectl/kafka tooling.

Frequently Asked Questions about deploying-kafka-k8s

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Kafka on Kubernetes using Strimzi?

Deploy Kafka on Kubernetes by installing the Strimzi operator, creating a Kafka cluster manifest with KRaft mode enabled, and applying it via kubectl. Strimzi manages the cluster lifecycle, networking, and storage provisioning automatically.

What is KRaft mode and why use it for Kafka on Kubernetes?

KRaft mode removes Kafka's dependency on ZooKeeper by using an internal consensus mechanism. For Kubernetes deployments, KRaft simplifies architecture, reduces operational overhead, and improves resource efficiency in containerized environments.

Can I manage Kafka topics on Kubernetes without manual commands?

Yes. Strimzi uses Kubernetes Custom Resource Definitions (CRDs) to manage topics declaratively. Define topics as YAML manifests and apply them via kubectl; Strimzi reconciles the desired state automatically.

How do I test producer and consumer flows after deploying Kafka on Kubernetes?

Deploy Kafka client pods or use kubectl port-forwarding to access the broker. Use the kafka-producer-perf-test and kafka-consumer-perf-test tools to validate end-to-end messaging, or write custom producers and consumers against the cluster endpoint.

Does Strimzi support both development and production Kafka deployments on Kubernetes?

Yes. Strimzi handles single-node development clusters for testing and multi-node production setups with replication, persistence, and resource limits. Scale and configure your cluster manifest to match your environment requirements.

What prerequisites do I need before installing Strimzi on Kubernetes?

You need a running Kubernetes cluster with kubectl access and sufficient RBAC permissions. Strimzi operator requires cluster-admin or custom service account permissions to create and manage Kafka resources and networking policies.