Closed slopezz closed 4 years ago
I have a comment on the directory structure. Why have a deploy
dir and then an examples
dir? I think is more easy to a potential user if all were under the deploy
directory, which is usually what you find in other operator projects.
Same can be said about the grafana-dashboards
one, I would include everything under deploy
Solves internal issue https://github.com/3scale/platform/issues/42
Main features
prometheus-exporter-operator
using operator-sdkv0.13.0
(last available version)ansible
based operator, but the idea is to migrate it togo
in the futuretype
: memcached, redis, mysql, postgresql, sphinx, elasticsearch, cloudwatchDeployment
,Service
and optionallyServiceMonitor
Secrets
for credentials andConfigmaps
for configuration filesOperator
operator-sdk binary
, you can get it hereExporters examples
examples
directory there is included a secondary Makefile used to deploy examples of each supported prometheus-exporters (including extra needed objects like Secrets/Configmaps, example DBs, example CRs..) and also to manage created objects deletion.make help
dbHost
/dbPort
on its pertinent CR)GrafanaDashboard/PrometheusRule
application-monitoring
make cluster/install
make grafana-dashboards-create make grafana-dashboards-delete make prometheus-rules-create make prometheus-rules-delete