Prometheus
The role performs various tasks related to OS configuration, chart deployment, reset and validation.
Role Settings
See the related role settings listed below, defined into main.yaml
defaults file.
prometheus_vars.kubernetes
- Default value:
null
See the related child settings, listed below.
kubernetes.alertmanager
- Default value:
null
alertmanager.gateway
- Default value:
null
Read the Gateway API tutorial, for more details.
gateway.service
- Default value:
string
,monitoring-kube-prometheus-alertmanager
gateway.subdomain
- Default value:
string
,alertmanager
Sets the subdomain name for Alert Manager UI.
alertmanager.infrastructure
- Default value:
null
alertmanager.replicas
- Default value:
integer
,2
alertmanager.resources
- Default value:
null
alertmanager.storage
- Default value:
string
,5gi
kubernetes.helm
- Default value:
null
helm.chart
- Default value:
null
chart.name
- Default value:
string
,kube-prometheus-stack
chart.prefix
- Default value:
string
,monitoring
chart.version
- Default value:
string
Visit prometheus-community/helm-charts
, for latest release version.
helm.repository
- Default value:
null
kubernetes.grafana
- Default value:
null
grafana.gateway
- Default value:
null
Read the Gateway API tutorial, for more details.
gateway.service
- Default value:
string
,monitoring-grafana
gateway.subdomain
- Default value:
string
,grafana
Sets the subdomain name for Grafana UI.
grafana.infrastructure
- Default value:
null
grafana.secret
- Default value:
null
grafana.user
- Default value:
null
user.name
- Default value:
string
,admin
user.password
- Default value:
string
Encrypt the variable with ansible-vault
.
kubernetes.namespace
- Default value:
string
,kube-system
kubernetes.prometheus
- Default value:
null
prometheus.gateway
- Default value:
null
Read the Gateway API tutorial, for more details.
gateway.service
- Default value:
string
,monitoring-kube-prometheus-prometheus
gateway.subdomain
- Default value:
string
,prometheus
Sets the subdomain name for Prometheus UI.
prometheus.infrastructure
- Default value:
null
prometheus.resources
- Default value:
null
prometheus.storage
- Default value:
string
,50Gi
Role Tasks
See the related role tasks, listed below.
Facts
Ansible facts, see facts.yaml
for details.
Main
Main role related tasks, see main.yaml
for details.
Reset
Reset related tasks, see reset.yaml
for details.
Validation
Validation related tasks, see validation.yaml
for details.
Role Templates
See the related role templates, listed below.
Helm Chart
Helm chart values template, see values.j2
for details.
Alert Manager
Gateway
Kubernetes Gateway
template, see alertmanager_gateway.j2
for details.
HTTP Route
Insecure Route
Kubernetes HTTPRoute
template, see alertmanager_http_route.j2
for details.
Secure Route
Kubernetes HTTPRoute
template, see alertmanager_https_route.j2
for details.
Grafana
Credentials
Kubernetes Secret
template, see grafana_credentials.j2
for details.
Gateway
Kubernetes Gateway
template, see grafana_gateway.j2
for details.
HTTP Route
Insecure Route
Kubernetes HTTPRoute
template, see grafana_http_route.j2
for details.
Secure Route
Kubernetes HTTPRoute
template, see grafana_https_route.j2
for details.
Prometheus
Gateway
Kubernetes Gateway
template, see prometheus_gateway.j2
for details.
HTTP Route
Insecure Route
Kubernetes HTTPRoute
template, see prometheus_http_route.j2
for details.
Secure Route
Kubernetes HTTPRoute
template, see prometheus_https_route.j2
for details.