Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm fixes and feature update #165

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rjshrjndrn
Copy link

@rjshrjndrn rjshrjndrn commented Jun 18, 2020

  1. Adding zookeeper endpoints option in helmchart

  2. Adding additional flags can be given via
    values.yaml for eg:

kafkaExporter:
 zookeeper:
   servers:
     - kafka-1-cp-zookeeper.kafka-1.svc.cluster.local:2181
 kafka:
   servers:
     - kafka-1-cp-kafka.kafka-1.svc.cluster.local:9092
 additionalFlags:
   - --use.consumelag.zookeeper

  1. If you install multiple instances of exporter to monitor multiple kafka
    clusters, each serviceMonitor will scrape all instances regardless of the
    different installation name.
    for eg:
helm install kafka-exporter-cluster1 ./kafka-exporter 
helm install kafka-exporter-cluster2 ./kafka-exporter

because the instance name, in this case the installation name, is the
only differentiator in these installations are absent in the serviceMonitor
selector, serviceMonitor will all instances.

If you install multiple instances of exporter to monitor
multiple kafka clusters, each serviceMonitor will scrape
all instances regardless of the different installation name.
for eg:
```
helm install kafka-exporter-cluster1 ./kafka-exporter
helm install kafka-exporter-cluster2 ./kafka-exporter
```
because the instance name, in this case the installation name,
is the only differentiator in these installations are absent in
the serviceMonitor selector, serviceMonitor will all instances.

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
1. Adding zookeeper endpoints
2. Adding additional flags can be given via values.yaml
for eg:
```
kafkaExporter:
  zookeeper:
    servers:
      - kafka-1-cp-zookeeper.kafka-1.svc.cluster.local:2181
  kafka:
    servers:
      - kafka-1-cp-kafka.kafka-1.svc.cluster.local:9092
  additionalFlags:
    - --use.consumelag.zookeeper

```

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
- broker unavailable
- ISR sync issue
- Kafka leader abnormal change

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant