teamhephy / workflow

Hephy Workflow - An open source fork of Deis Workflow - The open source PaaS for Kubernetes.
MIT License
406 stars 37 forks source link

[feature request] Enable to drop monitor #145

Open monaka opened 3 years ago

monaka commented 3 years ago

As a monitoring service is provided on managed K8s, some users will want to drop monitor functions. (And in my case, telegraf pods didn't work on my AKS cluster.)

My suggestion is here: https://dev.azure.com/pizzafactory/bancarella/_git/hephy-workflow-chart/commit/01bd78ff38d8a3c7a9cefc354ddff306cb98b722?refName=refs%2Fheads%2Fmain

Cryptophobia commented 3 years ago

This is a good idea. I have been thinking about this also recently. The monitoring stack should be easily replaceable with whatever stack the users want to use. Also telegraf/grafana/influxdb have their own charts that are a maintained by their own communities. Also prometheus is a nice replacement in this architecture also.

Maybe it is best to add a flag in the workflow values.yaml to disable to whole monitoring stack from being installed.

https://docs.teamhephy.com/managing-workflow/platform-monitoring/

@kingdonb , do you have some time to add a flag to disable the installation of the monitor components? I think we want to disable everything in monitor (except fluentd, redis-logger, and nsqd). Disable grafana, telegraf, and influxdb.