junos_exporter icon indicating copy to clipboard operation
junos_exporter copied to clipboard

Kubernetes prometheus-operator templates

Open olanystrom opened this issue 5 years ago • 6 comments

I have written a kubernetes deployment with Secrets, ConfigMaps, Service and ServiceMonitor for junos-exporter. Should I add them as a PR here? Or do you want it as a helm chart?

olanystrom avatar Jan 21 '20 18:01 olanystrom

Hey, thank you very much for contributing this to the project. In my opinion a helm chart would be nice, since it's more easy for the user to use.

czerwonk avatar Jan 22 '20 07:01 czerwonk

I have the helm chart written now. How do you want the PR formated? helm-chart in a helm-subdir?

helm/junos_exporter/

cd helm helm install junosexporter ./junos_exporter -f values.yaml

olanystrom avatar Jan 22 '20 09:01 olanystrom

Looks good :+1:

czerwonk avatar Jan 22 '20 13:01 czerwonk

@olanystrom By any chance, do you think its possible to spin up a container/pod for every target in order to mitigate #67 ?

spolack avatar Jan 22 '20 17:01 spolack

@olanystrom By any chance, do you think its possible to spin up a container/pod for every target in order to mitigate #67 ?

@spolack I assume you want to have separate configs for all targets also. I might have a way to do it, I will try a few ways at home.

olanystrom avatar Jan 22 '20 21:01 olanystrom

@spolack I assume you want to have separate configs for all targets also.

Perhaps it would be a good way would to have an entity "scrape config" which can be assigned to one or more targets.

Best Simon

spolack avatar Jan 22 '20 23:01 spolack