deploying-kafka-k8s

Deploys Apache Kafka clusters on Kubernetes using the Strimzi operator with KRaft mode.

9|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --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/Hacathan_5/tree/main/.claude/skills/deploying-kafka-k8s
Command: npx skills add https://github.com/AbdullahMalik17/Hacathan_5 --skill deploying-kafka-k8s-abdullahmalik17

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Setting up Apache Kafka on Kubernetes involves many moving parts: operator installation, cluster CRDs, topic management, and connectivity testing. This Skill provides a complete, step-by-step workflow for deploying production-ready Kafka clusters with the Strimzi operator, eliminating guesswork and misconfiguration. ## Core Features & Use Cases - Operator & Cluster Deployment: Install the Strimzi operator and create single-node (development) or 3-node KRaft-mode production clusters with persistent storage, TLS listeners, and resource limits. - Topic Management: Create and inspect Kafka topics declaratively via KafkaTopic CRDs or the kafka-topics CLI inside the cluster. - Testing & Troubleshooting: Run console producers/consumers, enable Prometheus metrics, and diagnose common failures like pending PVCs, OOMKilled pods, and wrong bootstrap URLs. - Use Case: You are building an event-driven microservices platform and need a Kafka backbone. Use this Skill to stand up a 3-broker cluster, create a task-events topic, and verify message flow before connecting your FastAPI or Dapr services. ## Quick Start Ask the assistant to deploy a Kafka cluster on Kubernetes using the Strimzi operator and verify it with a test producer and consumer.

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 with Strimzi?▼

Create a kafka namespace, install the Strimzi operator from strimzi.io/install/latest, then apply a Kafka custom resource defining replicas, listeners, and storage. Wait for the cluster to reach Ready condition with kubectl wait kafka/my-cluster.

How to create a Kafka topic using Strimzi KafkaTopic CRD?▼

Apply a KafkaTopic resource with the strimzi.io/cluster label pointing to your cluster, specifying partitions, replicas, and config like retention.ms. Alternatively, run kafka-topics.sh inside a temporary pod using the Strimzi Kafka image.

What is KRaft mode in Kafka on Kubernetes?▼

KRaft mode runs Kafka without ZooKeeper, using Kafka's built-in Raft consensus for metadata management. Strimzi supports KRaft from version 0.49.x with Kafka 3.9, simplifying the deployment by removing ZooKeeper pods entirely.

Why are my Kafka pods stuck pending on Kubernetes?▼

Pending pods usually mean persistent volume claims cannot bind because no storage class exists. Either add a storageClassName to the Kafka storage config or switch to ephemeral storage for development clusters.

When should I not use Strimzi for Kafka?▼

Avoid Strimzi when using managed Kafka services like Confluent Cloud or Amazon MSK, or for local development without Kubernetes. Those scenarios need no operator installation or cluster CRDs.