Skip to content

juan131/kafka-mtls-for-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka with Mutual TLS for K8s

Bitnami charts is the easiest way to get started with open-source applications on Kubernetes. It provides you a secure, up-to-date and easy-to-use catalog with 140+ applications.

Most users install the Bitnami charts with the default values, which is a great way to start with your favorite app on K8s using a simple structure. That said, these charts can offer you much more. They provide support for different topologies, configurations, integrations, customizations, etc.

This repository is a guide attempts to unleash the potential of the Bitnami catalog. To do so, it walks through the steps required to deploy on K8s a Kafka cluster with Mutual TLS with TLS secrets managed by Cert Manager. This setups provide you:

  • High Availability.
  • 2-way authentication.
  • Encryption both in client-broker and inter-broker communications.
  • TLS certificates management and issuance via Cert Manager.

TL;DR

$ git clone https://github.com/juan131/kafka-mtls-for-k8s.git && cd kafka-mtls-for-k8s
$ ./setup.sh

Before you begin

Prerequisites

Setup a Kubernetes Cluster & Install Helm

Follow the instruction under the "Before you being" section of the README.md file below:

How to use this tutorial

This tutorial provides a script (setup.sh) that you can use to deploy all the required solutions in your Kubernetes cluster in a orchestrated way.

As an alternative, you can manually install each of the required charts. The tutorial makes use of the following Helm charts:

You can find the corresponding values.yaml to deploy each of these charts under the values/ directory.

The setup

Using this tutorial, the following setup will be deployed in your Kubernetes cluster:

Kafka with Mutual TLS for K8s

Testing the setup

Once you deploy the required solutions, you can use the test.sh script to test everything is working as expected.

About

A Kafka cluster with Mutual TLS using Bitnami charts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages