I hope that I have somewhat of a unique question to ask. Did some searching around and didn’t find anything.
I’ve dockerized Kapacitor so that I could run it on a Kubernetes cluster. One of the constraints was the exclusion of persistent storage. To get around this, we store .tick scripts as part of the container image and initialized / enable them when the container starts.
One of the side effects of this however is that each time the docker container runs, it renews its subscriptions to influxDB. As a result influx ends up having multiple subscriptions to the same hostname, but a different ID. I’ve observed that when there are more than one subscription to same host, Kapacitor no longer receives data on that hostname.