Merge pull request #189 from thecodingmachine/prometheus

Adding Prometheus support in K8S
This commit is contained in:
David Négrier 2020-06-17 23:07:17 +02:00 committed by GitHub
commit 78c7e40889
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,23 @@
"config": {
"https": {
"mail": "d.negrier@thecodingmachine.com"
},
k8sextension(k8sConf)::
k8sConf + {
back+: {
deployment+: {
spec+: {
template+: {
metadata+: {
annotations+: {
"prometheus.io/port": "8080",
"prometheus.io/scrape": "true"
}
}
}
}
}
}
}
}
}