2020-10-05 10:50:23 +00:00
|
|
|
# kubezero-metrics
|
|
|
|
|
2023-05-25 20:44:02 +00:00
|
|
|
![Version: 0.9.2](https://img.shields.io/badge/Version-0.9.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
|
2020-10-05 10:50:23 +00:00
|
|
|
|
2021-09-28 14:02:33 +00:00
|
|
|
KubeZero Umbrella Chart for Prometheus, Grafana and Alertmanager as well as all Kubernetes integrations.
|
2020-07-30 16:19:04 +00:00
|
|
|
|
2020-10-05 10:50:23 +00:00
|
|
|
**Homepage:** <https://kubezero.com>
|
|
|
|
|
|
|
|
## Maintainers
|
2020-07-30 16:19:04 +00:00
|
|
|
|
2020-10-05 10:50:23 +00:00
|
|
|
| Name | Email | Url |
|
|
|
|
| ---- | ------ | --- |
|
2022-04-21 21:21:24 +00:00
|
|
|
| Stefan Reimer | <stefan@zero-downtime.net> | |
|
2020-07-30 16:19:04 +00:00
|
|
|
|
2020-10-05 10:50:23 +00:00
|
|
|
## Requirements
|
|
|
|
|
2023-04-14 10:44:57 +00:00
|
|
|
Kubernetes: `>= 1.25.0`
|
2020-07-30 16:19:04 +00:00
|
|
|
|
|
|
|
| Repository | Name | Version |
|
|
|
|
|------------|------|---------|
|
2023-05-13 08:38:33 +00:00
|
|
|
| | kube-prometheus-stack | 45.27.2 |
|
2022-12-15 21:51:31 +00:00
|
|
|
| https://cdn.zero-downtime.net/charts/ | kubezero-lib | >= 0.1.6 |
|
2023-04-14 10:44:57 +00:00
|
|
|
| https://prometheus-community.github.io/helm-charts | prometheus-adapter | 4.1.1 |
|
|
|
|
| https://prometheus-community.github.io/helm-charts | prometheus-pushgateway | 2.1.3 |
|
2020-07-30 16:19:04 +00:00
|
|
|
|
2020-10-05 10:50:23 +00:00
|
|
|
## Values
|
2020-07-30 16:19:04 +00:00
|
|
|
|
|
|
|
| Key | Type | Default | Description |
|
|
|
|
|-----|------|---------|-------------|
|
2020-12-04 14:05:35 +00:00
|
|
|
| istio.alertmanager.destination | string | `"metrics-kube-prometheus-st-alertmanager"` | |
|
|
|
|
| istio.alertmanager.enabled | bool | `false` | |
|
|
|
|
| istio.alertmanager.gateway | string | `"istio-ingress/ingressgateway"` | |
|
|
|
|
| istio.alertmanager.ipBlocks | list | `[]` | |
|
|
|
|
| istio.alertmanager.url | string | `""` | |
|
|
|
|
| istio.grafana.destination | string | `"metrics-grafana"` | |
|
|
|
|
| istio.grafana.enabled | bool | `false` | |
|
|
|
|
| istio.grafana.gateway | string | `"istio-ingress/ingressgateway"` | |
|
|
|
|
| istio.grafana.ipBlocks | list | `[]` | |
|
|
|
|
| istio.grafana.url | string | `""` | |
|
|
|
|
| istio.prometheus.destination | string | `"metrics-kube-prometheus-st-prometheus"` | |
|
|
|
|
| istio.prometheus.enabled | bool | `false` | |
|
|
|
|
| istio.prometheus.gateway | string | `"istio-ingress/ingressgateway"` | |
|
|
|
|
| istio.prometheus.ipBlocks | list | `[]` | |
|
|
|
|
| istio.prometheus.url | string | `""` | |
|
2021-09-28 14:02:33 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[0].name | string | `"SNS_FORWARDER_ARN_PREFIX"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[0].valueFrom.fieldRef.fieldPath | string | `"metadata.annotations['kubezero.com/sns_forwarder_ARN_PREFIX']"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[1].name | string | `"AWS_ROLE_ARN"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[1].valueFrom.fieldRef.fieldPath | string | `"metadata.annotations['kubezero.com/sns_forwarder_AWS_ROLE_ARN']"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[2].name | string | `"AWS_WEB_IDENTITY_TOKEN_FILE"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[2].value | string | `"/var/run/secrets/sts.amazonaws.com/serviceaccount/token"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[3].name | string | `"AWS_STS_REGIONAL_ENDPOINTS"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].env[3].value | string | `"regional"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].image | string | `"datareply/alertmanager-sns-forwarder:latest"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].imagePullPolicy | string | `"Always"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].livenessProbe.httpGet.path | string | `"/health"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].livenessProbe.httpGet.port | string | `"webhook-port"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].livenessProbe.initialDelaySeconds | int | `30` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].livenessProbe.timeoutSeconds | int | `10` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].name | string | `"alertmanager-sns-forwarder"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].ports[0].containerPort | int | `9087` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].ports[0].name | string | `"webhook-port"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].readinessProbe.httpGet.path | string | `"/health"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].readinessProbe.httpGet.port | string | `"webhook-port"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].readinessProbe.initialDelaySeconds | int | `10` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].readinessProbe.timeoutSeconds | int | `10` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].resources.limits.cpu | string | `"100m"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].resources.limits.memory | string | `"64Mi"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].resources.requests.cpu | string | `"25m"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].resources.requests.memory | string | `"32Mi"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].volumeMounts[0].mountPath | string | `"/var/run/secrets/sts.amazonaws.com/serviceaccount/"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].volumeMounts[0].name | string | `"aws-token"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.containers[0].volumeMounts[0].readOnly | bool | `true` | |
|
2020-12-04 14:05:35 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.logFormat | string | `"json"` | |
|
2021-09-28 14:02:33 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.volumes[0].name | string | `"aws-token"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.volumes[0].projected.sources[0].serviceAccountToken.audience | string | `"sts.amazonaws.com"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.volumes[0].projected.sources[0].serviceAccountToken.expirationSeconds | int | `86400` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.alertmanagerSpec.volumes[0].projected.sources[0].serviceAccountToken.path | string | `"token"` | |
|
2021-12-03 21:16:22 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.global.resolve_timeout | string | `"5m"` | |
|
2022-04-21 21:21:24 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[0].equal[0] | string | `"namespace"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[0].equal[1] | string | `"alertname"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[0].source_matchers[0] | string | `"severity = critical"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[0].target_matchers[0] | string | `"severity =~ warning|info"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[1].equal[0] | string | `"namespace"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[1].equal[1] | string | `"alertname"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[1].source_matchers[0] | string | `"severity = warning"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[1].target_matchers[0] | string | `"severity = info"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[2].equal[0] | string | `"namespace"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[2].source_matchers[0] | string | `"alertname = InfoInhibitor"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[2].target_matchers[0] | string | `"severity = info"` | |
|
2023-01-11 12:08:18 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[3].source_matchers[0] | string | `"alertname = ClusterAutoscalerNodeGroupsEnabled"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.inhibit_rules[3].target_matchers[0] | string | `"alertname =~ \"KubeCPUOvercommit|KubeMemoryOvercommit\""` | |
|
2021-12-03 21:16:22 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.route.group_by[0] | string | `"severity"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.route.group_by[1] | string | `"clusterName"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.route.group_interval | string | `"5m"` | |
|
2023-01-11 12:08:18 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.route.group_wait | string | `"10s"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.route.repeat_interval | string | `"4h"` | |
|
|
|
|
| kube-prometheus-stack.alertmanager.config.route.routes[0].matchers[0] | string | `"severity = none"` | |
|
2022-04-21 21:21:24 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.config.route.routes[0].receiver | string | `"null"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.alertmanager.enabled | bool | `false` | |
|
|
|
|
| kube-prometheus-stack.coreDns.enabled | bool | `true` | |
|
2021-09-28 14:02:33 +00:00
|
|
|
| kube-prometheus-stack.defaultRules.create | bool | `false` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.grafana."grafana.ini"."auth.anonymous".enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".alerting.enabled | bool | `false` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".analytics.check_for_updates | bool | `false` | |
|
2021-12-03 21:16:22 +00:00
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".dashboards.default_home_dashboard_path | string | `"/tmp/dashboards/KubeZero/home.json"` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".dashboards.min_refresh_interval | string | `"30s"` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".date_formats.default_timezone | string | `"UTC"` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".security.cookie_secure | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".security.disable_gravatar | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".security.strict_transport_security | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.grafana."grafana.ini".server.enable_gzip | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.grafana.defaultDashboardsEnabled | bool | `false` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.grafana.enabled | bool | `true` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.grafana.extraContainerVolumes[0].configMap.defaultMode | int | `511` | |
|
|
|
|
| kube-prometheus-stack.grafana.extraContainerVolumes[0].configMap.name | string | `"script-configmap"` | |
|
|
|
|
| kube-prometheus-stack.grafana.extraContainerVolumes[0].name | string | `"script-volume"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.grafana.initChownData.enabled | bool | `false` | |
|
|
|
|
| kube-prometheus-stack.grafana.plugins[0] | string | `"grafana-piechart-panel"` | |
|
|
|
|
| kube-prometheus-stack.grafana.service.portName | string | `"http-grafana"` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.extraMounts[0].mountPath | string | `"/opt/script.sh"` | |
|
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.extraMounts[0].name | string | `"script-volume"` | |
|
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.extraMounts[0].subPath | string | `"script.sh"` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.provider.foldersFromFilesStructure | bool | `true` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.script | string | `"/opt/script.sh"` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.grafana.sidecar.dashboards.searchNamespace | string | `"ALL"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.grafana.testFramework.enabled | bool | `false` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| kube-prometheus-stack.kube-state-metrics.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
2020-11-21 12:24:57 +00:00
|
|
|
| kube-prometheus-stack.kube-state-metrics.tolerations[0].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.kube-state-metrics.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
2022-10-27 12:27:42 +00:00
|
|
|
| kube-prometheus-stack.kube-state-metrics.tolerations[1].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.kube-state-metrics.tolerations[1].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.kubeApiServer.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeControllerManager.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeControllerManager.service.port | int | `10257` | |
|
|
|
|
| kube-prometheus-stack.kubeControllerManager.service.targetPort | int | `10257` | |
|
|
|
|
| kube-prometheus-stack.kubeControllerManager.serviceMonitor.https | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeControllerManager.serviceMonitor.insecureSkipVerify | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeDns.enabled | bool | `false` | |
|
|
|
|
| kube-prometheus-stack.kubeEtcd.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeEtcd.service.port | int | `2381` | |
|
|
|
|
| kube-prometheus-stack.kubeEtcd.service.targetPort | int | `2381` | |
|
|
|
|
| kube-prometheus-stack.kubeProxy.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeScheduler.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeScheduler.service.port | int | `10259` | |
|
|
|
|
| kube-prometheus-stack.kubeScheduler.service.targetPort | int | `10259` | |
|
|
|
|
| kube-prometheus-stack.kubeScheduler.serviceMonitor.https | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeScheduler.serviceMonitor.insecureSkipVerify | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubeStateMetrics.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubelet.enabled | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.kubelet.serviceMonitor.cAdvisor | bool | `true` | |
|
|
|
|
| kube-prometheus-stack.nodeExporter.enabled | bool | `true` | |
|
2022-04-21 21:21:24 +00:00
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.hostRootFsMount.enabled | bool | `false` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].action | string | `"replace"` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].regex | string | `"^(.*)$"` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].replacement | string | `"$1"` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].separator | string | `";"` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].sourceLabels[0] | string | `"__meta_kubernetes_pod_node_name"` | |
|
2023-05-13 08:38:33 +00:00
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.prometheus.monitor.relabelings[0].targetLabel | string | `"instance"` | |
|
2021-03-25 15:32:49 +00:00
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.resources.requests.cpu | string | `"20m"` | |
|
|
|
|
| kube-prometheus-stack.prometheus-node-exporter.resources.requests.memory | string | `"16Mi"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheus.enabled | bool | `true` | |
|
2020-12-04 14:05:35 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.logFormat | string | `"json"` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues | bool | `false` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.portName | string | `"http-prometheus"` | |
|
2022-05-16 08:15:41 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.resources.limits.memory | string | `"4Gi"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.resources.requests.cpu | string | `"500m"` | |
|
2021-03-25 15:32:49 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.resources.requests.memory | string | `"512Mi"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.retention | string | `"8d"` | |
|
2021-07-01 14:42:39 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.ruleSelectorNilUsesHelmValues | bool | `false` | |
|
2021-05-11 08:07:38 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.serviceMonitorSelectorNilUsesHelmValues | bool | `false` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.storageSpec.volumeClaimTemplate.spec.accessModes[0] | string | `"ReadWriteOnce"` | |
|
|
|
|
| kube-prometheus-stack.prometheus.prometheusSpec.storageSpec.volumeClaimTemplate.spec.resources.requests.storage | string | `"16Gi"` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.admissionWebhooks.patch.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
2020-11-21 12:24:57 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.admissionWebhooks.patch.tolerations[0].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.admissionWebhooks.patch.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
2022-10-27 12:27:42 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.admissionWebhooks.patch.tolerations[1].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.admissionWebhooks.patch.tolerations[1].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.enabled | bool | `true` | |
|
2020-12-04 14:05:35 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.logFormat | string | `"json"` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
2021-03-25 15:32:49 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.resources.limits.memory | string | `"64Mi"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.resources.requests.cpu | string | `"20m"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.resources.requests.memory | string | `"32Mi"` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.tolerations[0].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
2022-10-27 12:27:42 +00:00
|
|
|
| kube-prometheus-stack.prometheusOperator.tolerations[1].effect | string | `"NoSchedule"` | |
|
|
|
|
| kube-prometheus-stack.prometheusOperator.tolerations[1].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
2020-11-21 12:24:57 +00:00
|
|
|
| prometheus-adapter.enabled | bool | `true` | |
|
2021-01-21 12:31:06 +00:00
|
|
|
| prometheus-adapter.logLevel | int | `1` | |
|
2022-01-28 16:19:41 +00:00
|
|
|
| prometheus-adapter.nodeSelector."node-role.kubernetes.io/control-plane" | string | `""` | |
|
2020-10-27 11:54:44 +00:00
|
|
|
| prometheus-adapter.prometheus.url | string | `"http://metrics-kube-prometheus-st-prometheus"` | |
|
2020-08-06 11:38:40 +00:00
|
|
|
| prometheus-adapter.rules.default | bool | `false` | |
|
|
|
|
| prometheus-adapter.rules.resource.cpu.containerLabel | string | `"container"` | |
|
2021-07-01 14:42:39 +00:00
|
|
|
| prometheus-adapter.rules.resource.cpu.containerQuery | string | `"sum(irate(container_cpu_usage_seconds_total{<<.LabelMatchers>>,container!=\"POD\",container!=\"\",pod!=\"\"}[5m])) by (<<.GroupBy>>)"` | |
|
|
|
|
| prometheus-adapter.rules.resource.cpu.nodeQuery | string | `"sum(1 - irate(node_cpu_seconds_total{mode=\"idle\"}[5m]) * on(namespace, pod) group_left(node) node_namespace_pod:kube_pod_info:{<<.LabelMatchers>>}) by (<<.GroupBy>>)"` | |
|
2020-08-06 11:38:40 +00:00
|
|
|
| prometheus-adapter.rules.resource.cpu.resources.overrides.namespace.resource | string | `"namespace"` | |
|
|
|
|
| prometheus-adapter.rules.resource.cpu.resources.overrides.node.resource | string | `"node"` | |
|
|
|
|
| prometheus-adapter.rules.resource.cpu.resources.overrides.pod.resource | string | `"pod"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.containerLabel | string | `"container"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.containerQuery | string | `"sum(container_memory_working_set_bytes{<<.LabelMatchers>>,container!=\"POD\",container!=\"\",pod!=\"\"}) by (<<.GroupBy>>)"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.nodeQuery | string | `"sum(node_memory_MemTotal_bytes{job=\"node-exporter\",<<.LabelMatchers>>} - node_memory_MemAvailable_bytes{job=\"node-exporter\",<<.LabelMatchers>>}) by (<<.GroupBy>>)"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.resources.overrides.namespace.resource | string | `"namespace"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.resources.overrides.node.resource | string | `"node"` | |
|
|
|
|
| prometheus-adapter.rules.resource.memory.resources.overrides.pod.resource | string | `"pod"` | |
|
2021-07-01 14:42:39 +00:00
|
|
|
| prometheus-adapter.rules.resource.window | string | `"5m"` | |
|
2020-08-06 11:38:40 +00:00
|
|
|
| prometheus-adapter.tolerations[0].effect | string | `"NoSchedule"` | |
|
|
|
|
| prometheus-adapter.tolerations[0].key | string | `"node-role.kubernetes.io/master"` | |
|
2022-10-27 12:27:42 +00:00
|
|
|
| prometheus-adapter.tolerations[1].effect | string | `"NoSchedule"` | |
|
|
|
|
| prometheus-adapter.tolerations[1].key | string | `"node-role.kubernetes.io/control-plane"` | |
|
2021-09-28 14:02:33 +00:00
|
|
|
| prometheus-pushgateway.enabled | bool | `false` | |
|
|
|
|
| prometheus-pushgateway.serviceMonitor.enabled | bool | `true` | |
|
2020-09-04 00:13:39 +00:00
|
|
|
|
|
|
|
# Dashboards
|
|
|
|
|
2021-07-01 14:42:39 +00:00
|
|
|
## Alertmanager
|
|
|
|
- https://grafana.com/api/dashboards/9578/revisions/4/download
|
|
|
|
## Prometheus
|
|
|
|
- https://grafana.com/api/dashboards/3662/revisions/2/download
|
2021-09-28 14:02:33 +00:00
|
|
|
## AlertManager SNS Forwarder
|
|
|
|
- https://github.com/DataReply/alertmanager-sns-forwarder
|
2023-05-25 20:44:02 +00:00
|
|
|
## docker-registry
|
|
|
|
- https://github.com/lstn/misc-grafana-dashboards/blob/master/dashboards/docker-registry.json
|