influxdata / influxdata/helm-charts

Multiple influxURL in kapacitor chart

Open
#534 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
257
Forks
347
Avg merge
4d 20h
Merged PRs (30d)
9

Description

Let me try to explain what we are trying to do. Basically, we are using kapacitor to sync two DB.
We made a POC in EC2 without problems, we were able to register two different influxURL and sync the DB.

Now we are trying to move to kubernetes.
We would like to add multiple influxURL (https://github.com/influxdata/helm-charts/blob/master/charts/kapacitor/values.yaml#L66), but there is no mention of it in the documentation.

Is this possible with the chart out of the box (without modifications)?

As far as we were able to check, we will need to change the chart
https://github.com/influxdata/helm-charts/blob/master/charts/kapacitor/templates/deployment.yaml#L35
Add another `KAPACITOR_INFLUXDB_0_URLS_0` env variable (modifying the variable to add a new one).
```
- name: KAPACITOR_INFLUXDB_0_URLS_0
value: {{ .Values.influxURL }}
```

Anyone was able to do it without changing the chart?
We are trying to use kuztomization to avoid changing the chart everytime.

Contributor guide

Open the contributing guide

Research direction

Start with charts/kapacitor/values.yaml around influxURL and charts/kapacitor/templates/deployment.yaml around the referenced environment variable. Check whether the chart supports multiple InfluxDB URLs without modification and how Kustomize can provide them. Done means confirming the supported configuration or documenting the required chart change.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.