deploying-kafka-k8s

Deploy Kafka clusters on Kubernetes using the Strimzi operator in KRaft mode.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines deploying production-ready Apache Kafka on Kubernetes using the Strimzi operator in KRaft mode, eliminating manual setup and ensuring reproducible cluster configurations.

Core Features & Use Cases

  • Automated Deployment: Installs Strimzi operator, creates a namespace, and deploys a Kafka cluster in Kraft mode.
  • Topic Management & Testing: Provides KafkaTopic CRs and commands/templates for producer/consumer testing.
  • Real-World Scenario: Use this skill to quickly spin up a development Kafka cluster for event-driven microservices or to set up a small production-like cluster in Kubernetes for integration testing.

Quick Start

Create namespace named kafka Install Strimzi operator using kubectl create -f 'https://strimzi.io/install/latest?namespace=kafka' -n kafka Wait for operator to become Available Deploy a Kraft-based Kafka cluster using the provided YAML Wait until the Kafka cluster is Ready in namespace kafka

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?

Deploy Kafka on Kubernetes using the Strimzi operator with KRaft mode. Install the Strimzi operator, create a kafka namespace, apply Kafka cluster YAML manifests, and wait for the cluster to reach Ready status.

Can I use Strimzi to manage Kafka topics on Kubernetes?

Yes, Strimzi supports topic management through KafkaTopic custom resources. Define topics declaratively in YAML and apply them to your cluster for automated creation and configuration.

What's the best way to test producers and consumers on a Kubernetes Kafka cluster?

Use kubectl exec or provided templates to run producer and consumer commands against your Strimzi-deployed Kafka cluster. Test messaging workflows directly within the Kubernetes environment.

Do I need ZooKeeper to run Kafka on Kubernetes with Strimzi?

No, KRaft mode eliminates the ZooKeeper dependency. Strimzi deploys Kafka clusters in KRaft mode, simplifying architecture and reducing operational overhead on Kubernetes.

Can I deploy Kafka on Kubernetes for both development and production?

Yes, this approach scales from single-node test clusters for local development to multi-node deployments suitable for production-like integration testing on Kubernetes.

What prerequisites do I need before deploying Kafka with Strimzi on Kubernetes?

You need a running Kubernetes cluster, kubectl access, and the ability to apply YAML manifests. The Strimzi operator is installed as part of the deployment process.