GithubHelp home page GithubHelp logo

duanshuaimin / kafka-manager-chart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mactynow/kafka-manager-chart

0.0 1.0 0.0 10 KB

Helm chart for https://github.com/yahoo/kafka-manager

Smarty 100.00%

kafka-manager-chart's Introduction

DEPRECATION NOTICE

I do not maintain this chart and it is likely not to work. I suggest using https://github.com/confluentinc/cp-helm-charts.

Kafka manager helm chart

This chart let you install Kafka manager on a Kubernetes cluster using the kafka-manager-docker image.

Configuration

Kafka clusters

This section allow you to configure which Kafka cluster the manager will monitor. You can skip this step and configure this using the webUI, but you will need to configure a Zookeeper backend (See below).

kafka:
  clusters:
    - # You can embed any configuration you need, variables have the same
      # name than the web ui "Add Cluster" form variables.
      name: "default"
      # MANDATORY VALUE
      # Uri at which Kafka Zookeeper's can be contacted.
      zkHosts: "kafka-zookeeper:2181"
      kafkaVersion: "0.9.1"

Zookeeper backend

Kafka manager need a Zookeeper cluster to work, this chart let you 2 options for it's configuration :

  1. Use the Kafka internal Zookeeper cluster (by default if you have configured your clusters) .
  2. Use an external cluster (values.yaml entries below)
kafkaManager:
  useKafkaZookeeper: false
  zkHosts: "some-zookeeper:2181"

Deployment

  1. Clone the repository
  2. Configure the application by tweaking values.yaml
  3. helm install .

Note that the helm installation/upgrade can be slow because the cluster configuration must be done at runtime, we are thus using a helm post-install hook to send cluster add requests from a alpine-curl image. Helm won't exit before the post-install job succeeded.

If you are running into an Error: timed out waiting for the condition, this probably mean that the kafka-manager deployment isn't healthy, thus preventing the hook termination.

Accessing the application

Once the chart is deployed, it will give you some informations on how to access your application:

Access to the application using the ingress :
  http://kafka-manager.local

Access to the application using service :
  export POD_NAME=$(kubectl get pods --namespace default -l "app=kafka-manager,release=torpid-yak" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl port-forward $POD_NAME 8080:9000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.