Merge pull request #189 from thecodingmachine/prometheus
Adding Prometheus support in K8S
This commit is contained in:
commit
78c7e40889
1 changed files with 18 additions and 1 deletions
|
@ -42,6 +42,23 @@
|
||||||
"config": {
|
"config": {
|
||||||
"https": {
|
"https": {
|
||||||
"mail": "d.negrier@thecodingmachine.com"
|
"mail": "d.negrier@thecodingmachine.com"
|
||||||
}
|
},
|
||||||
|
k8sextension(k8sConf)::
|
||||||
|
k8sConf + {
|
||||||
|
back+: {
|
||||||
|
deployment+: {
|
||||||
|
spec+: {
|
||||||
|
template+: {
|
||||||
|
metadata+: {
|
||||||
|
annotations+: {
|
||||||
|
"prometheus.io/port": "8080",
|
||||||
|
"prometheus.io/scrape": "true"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue