mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/kube-prometheus] feat: ✨ Add blackbox-exporter (#9688)
* [bitnami/kube-prometheus] feat: ✨ Add blackbox-exporter Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Fix readme Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update table Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Apply suggested changes Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Fix incorrect labels Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * Remove version check Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> * [bitnami/kube-prometheus] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
co-authored by
Bitnami Containers
parent
65c5f5b865
commit
d6588d0ca7
@@ -1,12 +1,12 @@
|
||||
dependencies:
|
||||
- name: node-exporter
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 2.4.7
|
||||
version: 2.4.8
|
||||
- name: kube-state-metrics
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 2.2.15
|
||||
version: 2.2.16
|
||||
- name: common
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 1.13.0
|
||||
digest: sha256:170b8064a611089e5158b182d32222e4c54adb1041327a5b9edc48f26ec6fd3e
|
||||
generated: "2022-04-03T04:06:56.427010057Z"
|
||||
digest: sha256:771c2a7f018e69bb0026da022ac5e201d1f21a1ea8a488f9cea7b50b8fc615a7
|
||||
generated: "2022-04-06T16:18:50.250129254Z"
|
||||
|
||||
@@ -25,7 +25,6 @@ keywords:
|
||||
- alertmanager
|
||||
- operator
|
||||
- monitoring
|
||||
kubeVersion: '>= 1.16.0'
|
||||
maintainers:
|
||||
- email: containers@bitnami.com
|
||||
name: Bitnami
|
||||
@@ -35,4 +34,4 @@ sources:
|
||||
- https://github.com/bitnami/bitnami-docker-prometheus
|
||||
- https://github.com/bitnami/bitnami-docker-alertmanager
|
||||
- https://github.com/prometheus-operator/kube-prometheus
|
||||
version: 6.8.6
|
||||
version: 6.9.0
|
||||
|
||||
@@ -75,6 +75,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `global.storageClass` | Global StorageClass for Persistent Volume(s) | `""` |
|
||||
| `global.labels` | Additional labels to apply to all resources | `{}` |
|
||||
|
||||
|
||||
### Common parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
@@ -83,6 +84,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `fullnameOverride` | String to fully override `kube-prometheus.fullname` template with a string | `""` |
|
||||
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
|
||||
|
||||
|
||||
### Prometheus Operator Parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
@@ -90,7 +92,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `operator.enabled` | Deploy Prometheus Operator to the cluster | `true` |
|
||||
| `operator.image.registry` | Prometheus Operator image registry | `docker.io` |
|
||||
| `operator.image.repository` | Prometheus Operator image repository | `bitnami/prometheus-operator` |
|
||||
| `operator.image.tag` | Prometheus Operator Image tag (immutable tags are recommended) | `0.53.1-debian-10-r27` |
|
||||
| `operator.image.tag` | Prometheus Operator Image tag (immutable tags are recommended) | `0.55.1-debian-10-r7` |
|
||||
| `operator.image.pullPolicy` | Prometheus Operator image pull policy | `IfNotPresent` |
|
||||
| `operator.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `operator.extraArgs` | Additional arguments passed to Prometheus Operator | `[]` |
|
||||
@@ -167,6 +169,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `operator.prometheusConfigReloader.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe | `6` |
|
||||
| `operator.prometheusConfigReloader.readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` |
|
||||
|
||||
|
||||
### Prometheus Parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
@@ -174,7 +177,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.enabled` | Deploy Prometheus to the cluster | `true` |
|
||||
| `prometheus.image.registry` | Prometheus image registry | `docker.io` |
|
||||
| `prometheus.image.repository` | Prometheus image repository | `bitnami/prometheus` |
|
||||
| `prometheus.image.tag` | Prometheus Image tag (immutable tags are recommended) | `2.32.1-debian-10-r28` |
|
||||
| `prometheus.image.tag` | Prometheus Image tag (immutable tags are recommended) | `2.33.5-debian-10-r24` |
|
||||
| `prometheus.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `prometheus.serviceAccount.create` | Specify whether to create a ServiceAccount for Prometheus | `true` |
|
||||
| `prometheus.serviceAccount.name` | The name of the ServiceAccount to create | `""` |
|
||||
@@ -199,7 +202,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` |
|
||||
| `prometheus.service.healthCheckNodePort` | Specifies the health check node port | `""` |
|
||||
| `prometheus.service.stickySessions` | Set stickySessions to `true` to enable Session Affinity | `""` |
|
||||
| `prometheus.service.annotations` | Additional annotations for Prometheus service (this value is evaluated as a template) | `{}` |
|
||||
| `prometheus.service.annotations` | Additional annotations for Prometheus service (this value is evaluated as a template) | `{}` |
|
||||
| `prometheus.serviceMonitor.enabled` | Creates a ServiceMonitor to monitor Prometheus itself | `true` |
|
||||
| `prometheus.serviceMonitor.interval` | Scrape interval (use by default, falling back to Prometheus' default) | `""` |
|
||||
| `prometheus.serviceMonitor.metricRelabelings` | Metric relabeling | `[]` |
|
||||
@@ -208,7 +211,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.ingress.pathType` | Ingress Path type | `ImplementationSpecific` |
|
||||
| `prometheus.ingress.apiVersion` | Override API Version (automatically detected if not set) | `""` |
|
||||
| `prometheus.ingress.hostname` | Default host for the ingress resource | `prometheus.local` |
|
||||
| `prometheus.ingress.path` | The Path to Prometheus. You may need to set this to '/\*' in order to use this with ALB ingress controllers | `/` |
|
||||
| `prometheus.ingress.path` | The Path to Prometheus. You may need to set this to '/*' in order to use this with ALB ingress controllers | `/` |
|
||||
| `prometheus.ingress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
|
||||
| `prometheus.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `prometheus.ingress.tls` | Enable TLS configuration for the hostname defined at prometheus.ingress.hostname parameter | `false` |
|
||||
@@ -243,9 +246,9 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.readinessProbe.timeoutSeconds` | When the probe times out | `3` |
|
||||
| `prometheus.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe | `10` |
|
||||
| `prometheus.readinessProbe.successThreshold` | Minimum consecutive successes for the probe | `1` |
|
||||
| `prometheus.startupProbe.enabled` | Turn on and off startup probe | `true` |
|
||||
| `prometheus.startupProbe.enabled` | Turn on and off readiness probe | `true` |
|
||||
| `prometheus.startupProbe.path` | Path of the HTTP service for checking the ready state | `/-/ready` |
|
||||
| `prometheus.startupProbe.initialDelaySeconds` | Delay before startup probe is initiated | `0` |
|
||||
| `prometheus.startupProbe.initialDelaySeconds` | Delay before readiness probe is initiated | `0` |
|
||||
| `prometheus.startupProbe.periodSeconds` | How often to perform the probe | `15` |
|
||||
| `prometheus.startupProbe.timeoutSeconds` | When the probe times out | `3` |
|
||||
| `prometheus.startupProbe.failureThreshold` | Minimum consecutive failures for the probe | `60` |
|
||||
@@ -306,7 +309,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.thanos.create` | Create a Thanos sidecar container | `false` |
|
||||
| `prometheus.thanos.image.registry` | Thanos image registry | `docker.io` |
|
||||
| `prometheus.thanos.image.repository` | Thanos image name | `bitnami/thanos` |
|
||||
| `prometheus.thanos.image.tag` | Thanos image tag | `0.24.0-scratch-r2` |
|
||||
| `prometheus.thanos.image.tag` | Thanos image tag | `0.25.2-scratch-r1` |
|
||||
| `prometheus.thanos.image.pullPolicy` | Thanos image pull policy | `IfNotPresent` |
|
||||
| `prometheus.thanos.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `prometheus.thanos.containerSecurityContext.enabled` | Enable container security context | `true` |
|
||||
@@ -349,6 +352,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `prometheus.thanos.ingress.tls` | The tls configuration for the ingress | `{}` |
|
||||
| `prometheus.portName` | Port name used for the pods and governing service. This defaults to web | `web` |
|
||||
|
||||
|
||||
### Alertmanager Parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
@@ -356,7 +360,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `alertmanager.enabled` | Deploy Alertmanager to the cluster | `true` |
|
||||
| `alertmanager.image.registry` | Prometheus image registry | `docker.io` |
|
||||
| `alertmanager.image.repository` | Prometheus Image repository | `bitnami/alertmanager` |
|
||||
| `alertmanager.image.tag` | Prometheus Image tag (immutable tags are recommended) | `0.23.0-debian-10-r140` |
|
||||
| `alertmanager.image.tag` | Prometheus Image tag (immutable tags are recommended) | `0.24.0-debian-10-r8` |
|
||||
| `alertmanager.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `alertmanager.serviceAccount.create` | Specify whether to create a ServiceAccount for Alertmanager | `true` |
|
||||
| `alertmanager.serviceAccount.name` | The name of the ServiceAccount to create | `""` |
|
||||
@@ -389,7 +393,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `alertmanager.ingress.pathType` | Ingress Path type | `ImplementationSpecific` |
|
||||
| `alertmanager.ingress.apiVersion` | Override API Version (automatically detected if not set) | `""` |
|
||||
| `alertmanager.ingress.hostname` | Default host for the ingress resource | `alertmanager.local` |
|
||||
| `alertmanager.ingress.path` | The Path to Alert Manager. You may need to set this to '/\*' in order to use this with ALB ingress controllers. | `/` |
|
||||
| `alertmanager.ingress.path` | The Path to Alert Manager. You may need to set this to '/*' in order to use this with ALB ingress controllers. | `/` |
|
||||
| `alertmanager.ingress.annotations` | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. | `{}` |
|
||||
| `alertmanager.ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `alertmanager.ingress.tls` | Enable TLS configuration for the hostname defined at alertmanager.ingress.hostname parameter | `false` |
|
||||
@@ -448,22 +452,112 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `alertmanager.configSelector` | Namespaces to be selected for AlertmanagerConfig discovery. If nil, only check own namespace. This defaults to {} | `{}` |
|
||||
| `alertmanager.configuration` | EXPERIMENTAL: alertmanagerConfiguration specifies the global Alertmanager configuration. If defined, it takes precedence over the `configSecret` field. This field may change in future releases. The specified global alertmanager config will not force add a namespace label in routes and inhibitRules | `{}` |
|
||||
|
||||
|
||||
### Exporters
|
||||
|
||||
| Name | Description | Value |
|
||||
| -------------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------- |
|
||||
| `exporters.node-exporter.enabled` | Enable node-exporter | `true` |
|
||||
| `exporters.kube-state-metrics.enabled` | Enable kube-state-metrics | `true` |
|
||||
| `node-exporter` | Node Exporter deployment configuration | `{}` |
|
||||
| `kube-state-metrics` | Kube State Metrics deployment configuration | `{}` |
|
||||
| `kubelet.enabled` | Create a ServiceMonitor to scrape kubelet service | `true` |
|
||||
| `kubelet.namespace` | Namespace where kubelet service is deployed. Related configuration `operator.kubeletService.namespace` | `kube-system` |
|
||||
| `kubelet.serviceMonitor.https` | Enable scraping of the kubelet over HTTPS | `true` |
|
||||
| `kubelet.serviceMonitor.interval` | Scrape interval (use by default, falling back to Prometheus' default) | `""` |
|
||||
| `kubelet.serviceMonitor.metricRelabelings` | Metric relabeling | `[]` |
|
||||
| `kubelet.serviceMonitor.relabelings` | Relabel configs | `[]` |
|
||||
| `kubelet.serviceMonitor.cAdvisorMetricRelabelings` | Metric relabeling for scraping cAdvisor | `[]` |
|
||||
| `kubelet.serviceMonitor.cAdvisorRelabelings` | Relabel configs for scraping cAdvisor | `[]` |
|
||||
|
||||
|
||||
### Blackbox Exporter Deployment Parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| -------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | --------------------------- |
|
||||
| `blackboxExporter.enabled` | Enable Blackbox Exporter deployment | `true` |
|
||||
| `blackboxExporter.image.registry` | Blackbox Exporter image registry | `docker.io` |
|
||||
| `blackboxExporter.image.repository` | Blackbox Exporter Image repository | `bitnami/blackbox-exporter` |
|
||||
| `blackboxExporter.image.pullPolicy` | Blackbox Exporter Image pull policy | `IfNotPresent` |
|
||||
| `blackboxExporter.image.tag` | Blackbox Exporter Image tag (immutable tags are recommended) | `0.20.0-debian-10-r19` |
|
||||
| `blackboxExporter.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `blackboxExporter.extraEnvVars` | Array with extra environment variables to add to blackboxExporter nodes | `[]` |
|
||||
| `blackboxExporter.extraEnvVarsCM` | Name of existing ConfigMap containing extra env vars for blackboxExporter nodes | `""` |
|
||||
| `blackboxExporter.extraEnvVarsSecret` | Name of existing Secret containing extra env vars for blackboxExporter nodes | `""` |
|
||||
| `blackboxExporter.command` | Override default container command (useful when using custom images) | `[]` |
|
||||
| `blackboxExporter.args` | Override default container args (useful when using custom images) | `[]` |
|
||||
| `blackboxExporter.replicaCount` | Number of Blackbox Exporter replicas to deploy | `1` |
|
||||
| `blackboxExporter.livenessProbe.enabled` | Enable livenessProbe on Blackbox Exporter nodes | `true` |
|
||||
| `blackboxExporter.livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` |
|
||||
| `blackboxExporter.livenessProbe.periodSeconds` | Period seconds for livenessProbe | `10` |
|
||||
| `blackboxExporter.livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `1` |
|
||||
| `blackboxExporter.livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `3` |
|
||||
| `blackboxExporter.livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
|
||||
| `blackboxExporter.readinessProbe.enabled` | Enable readinessProbe on Blackbox Exporter nodes | `true` |
|
||||
| `blackboxExporter.readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `60` |
|
||||
| `blackboxExporter.readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
|
||||
| `blackboxExporter.readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `1` |
|
||||
| `blackboxExporter.readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `3` |
|
||||
| `blackboxExporter.readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
|
||||
| `blackboxExporter.startupProbe.enabled` | Enable startupProbe on Blackbox Exporter containers | `false` |
|
||||
| `blackboxExporter.startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `30` |
|
||||
| `blackboxExporter.startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
|
||||
| `blackboxExporter.startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `1` |
|
||||
| `blackboxExporter.startupProbe.failureThreshold` | Failure threshold for startupProbe | `15` |
|
||||
| `blackboxExporter.startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
|
||||
| `blackboxExporter.customLivenessProbe` | Custom livenessProbe that overrides the default one | `{}` |
|
||||
| `blackboxExporter.customReadinessProbe` | Custom readinessProbe that overrides the default one | `{}` |
|
||||
| `blackboxExporter.customStartupProbe` | Custom startupProbe that overrides the default one | `{}` |
|
||||
| `blackboxExporter.configuration` | Blackbox Exporter configuration | `{}` |
|
||||
| `blackboxExporter.existingConfigMap` | ConfigMap pointing to the Blackbox Exporter configuration | `""` |
|
||||
| `blackboxExporter.containerPorts.http` | Blackbox Exporter HTTP container port | `19115` |
|
||||
| `blackboxExporter.serviceAccount.create` | Enable creation of ServiceAccount for WordPress pod | `true` |
|
||||
| `blackboxExporter.serviceAccount.name` | The name of the ServiceAccount to use. | `""` |
|
||||
| `blackboxExporter.serviceAccount.automountServiceAccountToken` | Allows auto mount of ServiceAccountToken on the serviceAccount created | `true` |
|
||||
| `blackboxExporter.serviceAccount.annotations` | Additional custom annotations for the ServiceAccount | `{}` |
|
||||
| `blackboxExporter.resources.limits` | The resources limits for the blackboxExporter containers | `{}` |
|
||||
| `blackboxExporter.resources.requests` | The requested resources for the blackboxExporter containers | `{}` |
|
||||
| `blackboxExporter.podSecurityContext.enabled` | Enabled Blackbox Exporter pods' Security Context | `true` |
|
||||
| `blackboxExporter.podSecurityContext.fsGroup` | Set Blackbox Exporter pod's Security Context fsGroup | `1001` |
|
||||
| `blackboxExporter.containerSecurityContext.enabled` | Enabled Blackbox Exporter containers' Security Context | `true` |
|
||||
| `blackboxExporter.containerSecurityContext.runAsUser` | Set Blackbox Exporter containers' Security Context runAsUser | `1001` |
|
||||
| `blackboxExporter.containerSecurityContext.runAsNonRoot` | Set Blackbox Exporter containers' Security Context runAsNonRoot | `true` |
|
||||
| `blackboxExporter.lifecycleHooks` | for the blackboxExporter container(s) to automate configuration before or after startup | `{}` |
|
||||
| `blackboxExporter.hostAliases` | blackboxExporter pods host aliases | `[]` |
|
||||
| `blackboxExporter.podLabels` | Extra labels for blackboxExporter pods | `{}` |
|
||||
| `blackboxExporter.podAnnotations` | Annotations for blackboxExporter pods | `{}` |
|
||||
| `blackboxExporter.podAffinityPreset` | Pod affinity preset. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `blackboxExporter.podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard` | `soft` |
|
||||
| `blackboxExporter.nodeAffinityPreset.type` | Node affinity preset type. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard` | `""` |
|
||||
| `blackboxExporter.nodeAffinityPreset.key` | Node label key to match. Ignored if `blackboxExporter.affinity` is set | `""` |
|
||||
| `blackboxExporter.nodeAffinityPreset.values` | Node label values to match. Ignored if `blackboxExporter.affinity` is set | `[]` |
|
||||
| `blackboxExporter.affinity` | Affinity for Blackbox Exporter pods assignment | `{}` |
|
||||
| `blackboxExporter.nodeSelector` | Node labels for Blackbox Exporter pods assignment | `{}` |
|
||||
| `blackboxExporter.tolerations` | Tolerations for Blackbox Exporter pods assignment | `[]` |
|
||||
| `blackboxExporter.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains | `{}` |
|
||||
| `blackboxExporter.priorityClassName` | Blackbox Exporter pods' priorityClassName | `""` |
|
||||
| `blackboxExporter.schedulerName` | Kubernetes pod scheduler registry | `""` |
|
||||
| `blackboxExporter.updateStrategy.type` | Blackbox Exporter statefulset strategy type | `RollingUpdate` |
|
||||
| `blackboxExporter.extraVolumes` | Optionally specify extra list of additional volumes for the Blackbox Exporter pod(s) | `[]` |
|
||||
| `blackboxExporter.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Blackbox Exporter container(s) | `[]` |
|
||||
| `blackboxExporter.sidecars` | Add additional sidecar containers to the Blackbox Exporter pod(s) | `[]` |
|
||||
| `blackboxExporter.initContainers` | Add additional init containers to the Blackbox Exporter pod(s) | `[]` |
|
||||
|
||||
|
||||
### Blackbox Exporter Traffic Exposure Parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------- |
|
||||
| `exporters.node-exporter.enabled` | Enable node-exporter | `true` |
|
||||
| `exporters.kube-state-metrics.enabled` | Enable kube-state-metrics | `true` |
|
||||
| `node-exporter` | Node Exporter deployment configuration | `{}` |
|
||||
| `kube-state-metrics` | Kube State Metrics deployment configuration | `{}` |
|
||||
| `kubelet.enabled` | Create a ServiceMonitor to scrape kubelet service | `true` |
|
||||
| `kubelet.namespace` | Namespace where kubelet service is deployed. Related configuration `operator.kubeletService.namespace` | `kube-system` |
|
||||
| `kubelet.serviceMonitor.https` | Enable scraping of the kubelet over HTTPS | `true` |
|
||||
| `kubelet.serviceMonitor.interval` | Scrape interval (use by default, falling back to Prometheus' default) | `""` |
|
||||
| `kubelet.serviceMonitor.metricRelabelings` | Metric relabeling | `[]` |
|
||||
| `kubelet.serviceMonitor.relabelings` | Relabel configs | `[]` |
|
||||
| `kubelet.serviceMonitor.cAdvisorMetricRelabelings` | Metric relabeling for scraping cAdvisor | `[]` |
|
||||
| `kubelet.serviceMonitor.cAdvisorRelabelings` | Relabel configs for scraping cAdvisor | `[]` |
|
||||
| `blackboxExporter.service.type` | Blackbox Exporter service type | `ClusterIP` |
|
||||
| `blackboxExporter.service.ports.http` | Blackbox Exporter HTTP service port | `19115` |
|
||||
| `blackboxExporter.service.nodePorts.http` | Node port for HTTP | `""` |
|
||||
| `blackboxExporter.service.sessionAffinity` | Control where client requests go, to the same pod or round-robin | `None` |
|
||||
| `blackboxExporter.service.clusterIP` | Blackbox Exporter service Cluster IP | `""` |
|
||||
| `blackboxExporter.service.loadBalancerIP` | Blackbox Exporter service Load Balancer IP | `""` |
|
||||
| `blackboxExporter.service.loadBalancerSourceRanges` | Blackbox Exporter service Load Balancer sources | `[]` |
|
||||
| `blackboxExporter.service.externalTrafficPolicy` | Blackbox Exporter service external traffic policy | `Cluster` |
|
||||
| `blackboxExporter.service.annotations` | Additional custom annotations for Blackbox Exporter service | `{}` |
|
||||
| `blackboxExporter.service.extraPorts` | Extra ports to expose in the Blackbox Exporter service | `[]` |
|
||||
| `kubeApiServer.enabled` | Create a ServiceMonitor to scrape kube-apiserver service | `true` |
|
||||
| `kubeApiServer.serviceMonitor.interval` | Scrape interval. If not set, the Prometheus default scrape interval is used. | `""` |
|
||||
| `kubeApiServer.serviceMonitor.metricRelabelings` | Metric relabeling | `[]` |
|
||||
@@ -516,6 +610,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `kubeProxy.serviceMonitor.metricRelabelings` | Metric relabeling | `[]` |
|
||||
| `kubeProxy.serviceMonitor.relabelings` | Relabel configs | `[]` |
|
||||
|
||||
|
||||
### RBAC parameters
|
||||
|
||||
| Name | Description | Value |
|
||||
@@ -524,6 +619,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `rbac.apiVersion` | Version of the RBAC API | `v1beta1` |
|
||||
| `rbac.pspEnabled` | Whether to create a PodSecurityPolicy and bound it with RBAC. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or later | `true` |
|
||||
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
```bash
|
||||
|
||||
@@ -5,7 +5,7 @@ We need to truncate to 50 characters due to the long names generated for pods
|
||||
*/}}
|
||||
{{- define "kube-prometheus.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 50 | trimSuffix "-" -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
@@ -28,62 +28,58 @@ If release name contains chart name it will be used as a full name.
|
||||
{{/* Name suffixed with operator */}}
|
||||
{{- define "kube-prometheus.operator.name" -}}
|
||||
{{- printf "%s-operator" (include "kube-prometheus.name" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Name suffixed with prometheus */}}
|
||||
{{- define "kube-prometheus.prometheus.name" -}}
|
||||
{{- printf "%s-prometheus" (include "kube-prometheus.name" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Name suffixed with alertmanager */}}
|
||||
{{- define "kube-prometheus.alertmanager.name" -}}
|
||||
{{- printf "%s-alertmanager" (include "kube-prometheus.name" .) -}}
|
||||
{{- end }}
|
||||
|
||||
{{/* Name suffixed with thanos */}}
|
||||
{{- define "kube-prometheus.thanos.name" -}}
|
||||
{{- printf "%s-thanos" (include "kube-prometheus.name" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fullname suffixed with operator */}}
|
||||
{{- define "kube-prometheus.operator.fullname" -}}
|
||||
{{- printf "%s-operator" (include "kube-prometheus.fullname" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fullname suffixed with prometheus */}}
|
||||
{{- define "kube-prometheus.prometheus.fullname" -}}
|
||||
{{- printf "%s-prometheus" (include "kube-prometheus.fullname" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fullname suffixed with alertmanager */}}
|
||||
{{- define "kube-prometheus.alertmanager.fullname" -}}
|
||||
{{- printf "%s-alertmanager" (include "kube-prometheus.fullname" .) -}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fullname suffixed with blackbox-exporter */}}
|
||||
{{- define "kube-prometheus.blackboxExporter.fullname" -}}
|
||||
{{- printf "%s-blackbox-exporter" (include "kube-prometheus.fullname" .) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Fullname suffixed with thanos */}}
|
||||
{{- define "kube-prometheus.thanos.fullname" -}}
|
||||
{{- printf "%s-thanos" (include "kube-prometheus.prometheus.fullname" .) -}}
|
||||
{{- end }}
|
||||
|
||||
{{- define "kube-prometheus.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Common Labels
|
||||
*/}}
|
||||
{{- define "kube-prometheus.labels" -}}
|
||||
{{ include "common.labels.standard" . }}
|
||||
{{- if .Values.global.labels }}
|
||||
{{ toYaml .Values.global.labels }}
|
||||
{{- end }}
|
||||
{{- include "common.labels.standard" . -}}
|
||||
{{- if .Values.global.labels -}}
|
||||
{{- toYaml .Values.global.labels -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Labels for operator
|
||||
*/}}
|
||||
{{- define "kube-prometheus.operator.labels" -}}
|
||||
{{ include "kube-prometheus.labels" . }}
|
||||
{{- include "kube-prometheus.labels" . }}
|
||||
app.kubernetes.io/component: operator
|
||||
{{- end -}}
|
||||
|
||||
@@ -91,7 +87,7 @@ app.kubernetes.io/component: operator
|
||||
Labels for prometheus
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheus.labels" -}}
|
||||
{{ include "kube-prometheus.labels" . }}
|
||||
{{- include "kube-prometheus.labels" . }}
|
||||
app.kubernetes.io/component: prometheus
|
||||
{{- end -}}
|
||||
|
||||
@@ -99,15 +95,23 @@ app.kubernetes.io/component: prometheus
|
||||
Labels for alertmanager
|
||||
*/}}
|
||||
{{- define "kube-prometheus.alertmanager.labels" -}}
|
||||
{{ include "kube-prometheus.labels" . }}
|
||||
{{- include "kube-prometheus.labels" . }}
|
||||
app.kubernetes.io/component: alertmanager
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Labels for blackbox-exporter
|
||||
*/}}
|
||||
{{- define "kube-prometheus.blackboxExporter.labels" -}}
|
||||
{{- include "kube-prometheus.labels" . }}
|
||||
app.kubernetes.io/component: blackbox-exporter
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
matchLabels for operator
|
||||
*/}}
|
||||
{{- define "kube-prometheus.operator.matchLabels" -}}
|
||||
{{ include "common.labels.matchLabels" . }}
|
||||
{{- include "common.labels.matchLabels" . }}
|
||||
app.kubernetes.io/component: operator
|
||||
{{- end -}}
|
||||
|
||||
@@ -115,7 +119,7 @@ app.kubernetes.io/component: operator
|
||||
matchLabels for prometheus
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheus.matchLabels" -}}
|
||||
{{ include "common.labels.matchLabels" . }}
|
||||
{{- include "common.labels.matchLabels" . }}
|
||||
app.kubernetes.io/component: prometheus
|
||||
{{- end -}}
|
||||
|
||||
@@ -123,7 +127,7 @@ app.kubernetes.io/component: prometheus
|
||||
matchLabels for alertmanager
|
||||
*/}}
|
||||
{{- define "kube-prometheus.alertmanager.matchLabels" -}}
|
||||
{{ include "common.labels.matchLabels" . }}
|
||||
{{- include "common.labels.matchLabels" . }}
|
||||
app.kubernetes.io/component: alertmanager
|
||||
{{- end -}}
|
||||
|
||||
@@ -131,15 +135,15 @@ app.kubernetes.io/component: alertmanager
|
||||
Return the proper Prometheus Operator image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.image" -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.operator.image "global" .Values.global) }}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.operator.image "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Prometheus Operator Reloader image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheusConfigReloader.image" -}}
|
||||
{{- if and .Values.operator.prometheusConfigReloader.image.repository .Values.operator.prometheusConfigReloader.image.tag }}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.operator.prometheusConfigReloader.image "global" .Values.global) }}
|
||||
{{- if and .Values.operator.prometheusConfigReloader.image.repository .Values.operator.prometheusConfigReloader.image.tag -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.operator.prometheusConfigReloader.image "global" .Values.global) -}}
|
||||
{{- else -}}
|
||||
{{- include "kube-prometheus.image" . -}}
|
||||
{{- end -}}
|
||||
@@ -149,28 +153,35 @@ Return the proper Prometheus Operator Reloader image name
|
||||
Return the proper Prometheus Image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheus.image" -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.prometheus.image "global" .Values.global) }}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.prometheus.image "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Thanos Image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheus.thanosImage" -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.prometheus.thanos.image "global" .Values.global) }}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.prometheus.thanos.image "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Alertmanager Image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.alertmanager.image" -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.alertmanager.image "global" .Values.global) }}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.alertmanager.image "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Blackbox Exporter Image name
|
||||
*/}}
|
||||
{{- define "kube-prometheus.blackboxExporter.image" -}}
|
||||
{{- include "common.images.image" (dict "imageRoot" .Values.blackboxExporter.image "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Docker Image Registry Secret Names
|
||||
*/}}
|
||||
{{- define "kube-prometheus.imagePullSecrets" -}}
|
||||
{{ include "common.images.pullSecrets" (dict "images" (list .Values.operator.image .Values.operator.prometheusConfigReloader.image .Values.prometheus.image .Values.prometheus.thanos.image .Values.alertmanager.image) "global" .Values.global) }}
|
||||
{{- include "common.images.pullSecrets" (dict "images" (list .Values.operator.image .Values.operator.prometheusConfigReloader.image .Values.prometheus.image .Values.prometheus.thanos.image .Values.alertmanager.image .Values.blackboxExporter.image) "global" .Values.global) -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
@@ -178,9 +189,20 @@ Create the name of the operator service account to use
|
||||
*/}}
|
||||
{{- define "kube-prometheus.operator.serviceAccountName" -}}
|
||||
{{- if .Values.operator.serviceAccount.create -}}
|
||||
{{ default (include "kube-prometheus.operator.fullname" .) .Values.operator.serviceAccount.name }}
|
||||
{{- default (include "kube-prometheus.operator.fullname" .) .Values.operator.serviceAccount.name -}}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.operator.serviceAccount.name }}
|
||||
{{- default "default" .Values.operator.serviceAccount.name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the name of the blackbox-exporter service account to use
|
||||
*/}}
|
||||
{{- define "kube-prometheus.blackboxExporter.serviceAccountName" -}}
|
||||
{{- if .Values.blackboxExporter.serviceAccount.create -}}
|
||||
{{- default (include "kube-prometheus.blackboxExporter.fullname" .) .Values.blackboxExporter.serviceAccount.name -}}
|
||||
{{- else -}}
|
||||
{{- default "default" .Values.blackboxExporter.serviceAccount.name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -189,9 +211,9 @@ Create the name of the prometheus service account to use
|
||||
*/}}
|
||||
{{- define "kube-prometheus.prometheus.serviceAccountName" -}}
|
||||
{{- if .Values.prometheus.serviceAccount.create -}}
|
||||
{{ default (include "kube-prometheus.prometheus.fullname" .) .Values.prometheus.serviceAccount.name }}
|
||||
{{- default (include "kube-prometheus.prometheus.fullname" .) .Values.prometheus.serviceAccount.name -}}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.prometheus.serviceAccount.name }}
|
||||
{{- default "default" .Values.prometheus.serviceAccount.name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -200,9 +222,20 @@ Create the name of the alertmanager service account to use
|
||||
*/}}
|
||||
{{- define "kube-prometheus.alertmanager.serviceAccountName" -}}
|
||||
{{- if .Values.alertmanager.serviceAccount.create -}}
|
||||
{{ default (include "kube-prometheus.alertmanager.fullname" .) .Values.alertmanager.serviceAccount.name }}
|
||||
{{- default (include "kube-prometheus.alertmanager.fullname" .) .Values.alertmanager.serviceAccount.name -}}
|
||||
{{- else -}}
|
||||
{{ default "default" .Values.alertmanager.serviceAccount.name }}
|
||||
{{- default "default" .Values.alertmanager.serviceAccount.name -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the etcd configuration configmap
|
||||
*/}}
|
||||
{{- define "kube-prometheus.blackboxExporter.configmapName" -}}
|
||||
{{- if .Values.blackboxExporter.existingConfigMap -}}
|
||||
{{- printf "%s" (tpl .Values.blackboxExporter.existingConfigMap $) -}}
|
||||
{{- else -}}
|
||||
{{- include "kube-prometheus.blackboxExporter.fullname" . -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{{- if and .Values.blackboxExporter.enabled (not .Values.blackboxExporter.existingConfigMap) }}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ template "kube-prometheus.blackboxExporter.fullname" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "kube-prometheus.blackboxExporter.labels" . | nindent 4 }}
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
data:
|
||||
config.yml: |-
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.configuration "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,145 @@
|
||||
{{- if .Values.blackboxExporter.enabled }}
|
||||
apiVersion: {{ include "common.capabilities.deployment.apiVersion" . }}
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ template "kube-prometheus.blackboxExporter.fullname" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "kube-prometheus.blackboxExporter.labels" . | nindent 4 }}
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
replicas: {{ .Values.blackboxExporter.replicaCount }}
|
||||
{{- if .Values.blackboxExporter.updateStrategy }}
|
||||
strategy: {{- toYaml .Values.blackboxExporter.updateStrategy | nindent 4 }}
|
||||
{{- end }}
|
||||
selector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" . | nindent 6 }}
|
||||
app.kubernetes.io/component: blackbox-exporter
|
||||
template:
|
||||
metadata:
|
||||
annotations:
|
||||
checksum/config: {{ include (print $.Template.BasePath "/blackbox-exporter/configmap.yaml") . | sha256sum }}
|
||||
{{- if .Values.blackboxExporter.podAnnotations }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.podAnnotations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
labels: {{- include "common.labels.standard" . | nindent 8 }}
|
||||
app.kubernetes.io/component: blackbox-exporter
|
||||
{{- if .Values.blackboxExporter.podLabels }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.podLabels "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
serviceAccountName: {{ template "kube-prometheus.blackboxExporter.serviceAccountName" . }}
|
||||
{{- include "kube-prometheus.imagePullSecrets" . | nindent 6 }}
|
||||
{{- if .Values.blackboxExporter.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.affinity }}
|
||||
affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.blackboxExporter.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
affinity:
|
||||
podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.blackboxExporter.podAffinityPreset "component" "blackbox-exporter" "context" $) | nindent 10 }}
|
||||
podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.blackboxExporter.podAntiAffinityPreset "component" "blackbox-exporter" "context" $) | nindent 10 }}
|
||||
nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.blackboxExporter.nodeAffinityPreset.type "key" .Values.blackboxExporter.nodeAffinityPreset.key "values" .Values.blackboxExporter.nodeAffinityPreset.values) | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.nodeSelector }}
|
||||
nodeSelector: {{- include "common.tplvalues.render" ( dict "value" .Values.blackboxExporter.nodeSelector "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.tolerations "context" .) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.topologySpreadConstraints }}
|
||||
topologySpreadConstraints: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.topologySpreadConstraints "context" .) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.priorityClassName }}
|
||||
priorityClassName: {{ .Values.blackboxExporter.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.schedulerName }}
|
||||
schedulerName: {{ .Values.blackboxExporter.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.podSecurityContext.enabled }}
|
||||
securityContext: {{- omit .Values.blackboxExporter.podSecurityContext "enabled" | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
initContainers:
|
||||
{{- if .Values.blackboxExporter.initContainers }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.initContainers "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: blackbox-exporter
|
||||
image: {{ template "kube-prometheus.blackboxExporter.image" . }}
|
||||
imagePullPolicy: {{ .Values.blackboxExporter.image.pullPolicy }}
|
||||
{{- if .Values.blackboxExporter.containerSecurityContext.enabled }}
|
||||
securityContext: {{- omit .Values.blackboxExporter.containerSecurityContext "enabled" | toYaml | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.command }}
|
||||
command: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.command "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.args }}
|
||||
args: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.args "context" $) | nindent 12 }}
|
||||
{{- else }}
|
||||
args:
|
||||
- --config.file=/bitnami/blackbox-exporter/conf/config.yml
|
||||
- --web.listen-address=:{{ .Values.blackboxExporter.containerPorts.http }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.extraEnvVars }}
|
||||
env: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.extraEnvVars "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
envFrom:
|
||||
{{- if .Values.blackboxExporter.extraEnvVarsCM }}
|
||||
- configMapRef:
|
||||
name: {{ include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.extraEnvVarsCM "context" $) }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.extraEnvVarsSecret }}
|
||||
- secretRef:
|
||||
name: {{ include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.extraEnvVarsSecret "context" $) }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- containerPort: {{ .Values.blackboxExporter.containerPorts.http }}
|
||||
name: http
|
||||
{{- if .Values.blackboxExporter.resources }}
|
||||
resources: {{- toYaml .Values.blackboxExporter.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.livenessProbe.enabled }}
|
||||
livenessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.blackboxExporter.livenessProbe "enabled") "context" $) | nindent 12 }}
|
||||
httpGet:
|
||||
port: http
|
||||
{{- else if .Values.blackboxExporter.customLivenessProbe }}
|
||||
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.customLivenessProbe "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.readinessProbe.enabled }}
|
||||
readinessProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.blackboxExporter.readinessProbe "enabled") "context" $) | nindent 12 }}
|
||||
httpGet:
|
||||
port: http
|
||||
{{- else if .Values.blackboxExporter.customReadinessProbe }}
|
||||
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.customReadinessProbe "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.startupProbe.enabled }}
|
||||
startupProbe: {{- include "common.tplvalues.render" (dict "value" (omit .Values.blackboxExporter.startupProbe "enabled") "context" $) | nindent 12 }}
|
||||
httpGet:
|
||||
port: http
|
||||
{{- else if .Values.blackboxExporter.customStartupProbe }}
|
||||
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.customStartupProbe "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.lifecycleHooks }}
|
||||
lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.lifecycleHooks "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: blackbox-exporter-config
|
||||
mountPath: /bitnami/blackbox-exporter/conf
|
||||
{{- if .Values.blackboxExporter.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.sidecars }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.blackboxExporter.sidecars "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: blackbox-exporter-config
|
||||
configMap:
|
||||
name: {{ template "kube-prometheus.blackboxExporter.configmapName" . }}
|
||||
{{- if .Values.blackboxExporter.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.extraVolumes "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,51 @@
|
||||
{{- if .Values.blackboxExporter.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: {{ template "kube-prometheus.blackboxExporter.fullname" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "kube-prometheus.blackboxExporter.labels" . | nindent 4 }}
|
||||
{{- if .Values.commonLabels }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.commonAnnotations .Values.blackboxExporter.service.annotations }}
|
||||
annotations:
|
||||
{{- if .Values.blackboxExporter.service.annotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.blackboxExporter.service.annotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.commonAnnotations }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.blackboxExporter.service.type }}
|
||||
sessionAffinity: {{ .Values.blackboxExporter.service.sessionAffinity }}
|
||||
{{- if .Values.blackboxExporter.service.clusterIP }}
|
||||
clusterIP: {{ .Values.blackboxExporter.service.clusterIP }}
|
||||
{{- end }}
|
||||
{{- if (or (eq .Values.blackboxExporter.service.type "LoadBalancer") (eq .Values.blackboxExporter.service.type "NodePort")) }}
|
||||
externalTrafficPolicy: {{ .Values.blackboxExporter.service.externalTrafficPolicy | quote }}
|
||||
{{- end }}
|
||||
{{ if eq .Values.blackboxExporter.service.type "LoadBalancer" }}
|
||||
loadBalancerSourceRanges: {{ .Values.blackboxExporter.service.loadBalancerSourceRanges }}
|
||||
{{ end }}
|
||||
{{- if (and (eq .Values.blackboxExporter.service.type "LoadBalancer") (not (empty .Values.blackboxExporter.service.loadBalancerIP))) }}
|
||||
loadBalancerIP: {{ .Values.blackboxExporter.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
publishNotReadyAddresses: true
|
||||
ports:
|
||||
- name: http
|
||||
port: {{ .Values.blackboxExporter.service.ports.http }}
|
||||
targetPort: http
|
||||
protocol: TCP
|
||||
{{- if (and (or (eq .Values.blackboxExporter.service.type "NodePort") (eq .Values.blackboxExporter.service.type "LoadBalancer")) (not (empty .Values.blackboxExporter.service.nodePorts.http))) }}
|
||||
nodePort: {{ .Values.blackboxExporter.service.nodePorts.http }}
|
||||
{{- else if eq .Values.blackboxExporter.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
{{- if .Values.blackboxExporter.service.extraPorts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.service.extraPorts "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
|
||||
app.kubernetes.io/component: blackbox-exporter
|
||||
{{- end }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{- if and .Values.blackboxExporter.enabled .Values.blackboxExporter.serviceAccount.create }}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "kube-prometheus.blackboxExporter.serviceAccountName" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels: {{- include "kube-prometheus.blackboxExporter.labels" . | nindent 4 }}
|
||||
{{- if index .Values.blackboxExporter.serviceAccount.annotations }}
|
||||
annotations: {{- include "common.tplvalues.render" (dict "value" .Values.blackboxExporter.serviceAccount.annotations "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- include "kube-prometheus.imagePullSecrets" . }}
|
||||
{{- end }}
|
||||
@@ -2,6 +2,7 @@
|
||||
## Global Docker image parameters
|
||||
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
|
||||
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
|
||||
##
|
||||
|
||||
## @param global.imageRegistry Global Docker image registry
|
||||
## @param global.imagePullSecrets Global Docker registry secret names as an array
|
||||
@@ -19,6 +20,7 @@ global:
|
||||
labels: {}
|
||||
|
||||
## @section Common parameters
|
||||
##
|
||||
|
||||
## @param nameOverride String to partially override `kube-prometheus.name` template with a string (will prepend the release name)
|
||||
##
|
||||
@@ -31,6 +33,7 @@ fullnameOverride: ""
|
||||
extraDeploy: []
|
||||
|
||||
## @section Prometheus Operator Parameters
|
||||
##
|
||||
|
||||
operator:
|
||||
## @param operator.enabled Deploy Prometheus Operator to the cluster
|
||||
@@ -47,7 +50,7 @@ operator:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/prometheus-operator
|
||||
tag: 0.55.1-debian-10-r7
|
||||
tag: 0.55.1-debian-10-r9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
@@ -80,6 +83,7 @@ operator:
|
||||
create: true
|
||||
## @param operator.serviceAccount.name The name of the ServiceAccount to create
|
||||
## If not set and create is true, a name is generated using the kube-prometheus.operator.fullname template
|
||||
##
|
||||
name: ""
|
||||
## @param operator.schedulerName Name of the Kubernetess scheduler (other than default)
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
@@ -340,6 +344,7 @@ operator:
|
||||
successThreshold: 1
|
||||
|
||||
## @section Prometheus Parameters
|
||||
##
|
||||
|
||||
## Deploy a Prometheus instance
|
||||
##
|
||||
@@ -357,7 +362,7 @@ prometheus:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/prometheus
|
||||
tag: 2.33.5-debian-10-r24
|
||||
tag: 2.34.0-debian-10-r0
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
@@ -375,6 +380,7 @@ prometheus:
|
||||
create: true
|
||||
## @param prometheus.serviceAccount.name The name of the ServiceAccount to create
|
||||
## If not set and create is true, a name is generated using the kube-prometheus.prometheus.fullname template
|
||||
##
|
||||
name: ""
|
||||
## @param prometheus.serviceAccount.annotations Additional annotations for created Prometheus ServiceAccount
|
||||
## annotations:
|
||||
@@ -939,7 +945,7 @@ prometheus:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/thanos
|
||||
tag: 0.25.2-scratch-r1
|
||||
tag: 0.25.2-scratch-r2
|
||||
## Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
##
|
||||
@@ -1005,11 +1011,13 @@ prometheus:
|
||||
## limits:
|
||||
## cpu: 100m
|
||||
## memory: 128Mi
|
||||
##
|
||||
limits: {}
|
||||
## Examples:
|
||||
## requests:
|
||||
## cpu: 100m
|
||||
## memory: 128Mi
|
||||
##
|
||||
requests: {}
|
||||
## Configure extra options for liveness probe
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
||||
@@ -1136,6 +1144,7 @@ prometheus:
|
||||
portName: web
|
||||
|
||||
## @section Alertmanager Parameters
|
||||
##
|
||||
|
||||
## Configuration for alertmanager
|
||||
## ref: https://prometheus.io/docs/alerting/alertmanager/
|
||||
@@ -1154,7 +1163,7 @@ alertmanager:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/alertmanager
|
||||
tag: 0.24.0-debian-10-r8
|
||||
tag: 0.24.0-debian-10-r11
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
@@ -1172,6 +1181,7 @@ alertmanager:
|
||||
create: true
|
||||
## @param alertmanager.serviceAccount.name The name of the ServiceAccount to create
|
||||
## If not set and create is true, a name is generated using the kube-prometheus.alertmanager.fullname template
|
||||
##
|
||||
name: ""
|
||||
## Prometheus Alertmanager pods' Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
||||
@@ -1563,6 +1573,7 @@ alertmanager:
|
||||
configuration: {}
|
||||
|
||||
## @section Exporters
|
||||
##
|
||||
|
||||
## Exporters
|
||||
##
|
||||
@@ -1626,6 +1637,351 @@ kubelet:
|
||||
## ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
||||
##
|
||||
cAdvisorRelabelings: []
|
||||
|
||||
## @section Blackbox Exporter Deployment Parameters
|
||||
##
|
||||
blackboxExporter:
|
||||
## @param blackboxExporter.enabled Enable Blackbox Exporter deployment
|
||||
##
|
||||
enabled: true
|
||||
## Bitnami Alertmanager image version
|
||||
## ref: https://hub.docker.com/r/bitnami/prometheus-operator/tags/
|
||||
## @param blackboxExporter.image.registry Blackbox Exporter image registry
|
||||
## @param blackboxExporter.image.repository Blackbox Exporter Image repository
|
||||
## @param blackboxExporter.image.pullPolicy Blackbox Exporter Image pull policy
|
||||
## @param blackboxExporter.image.tag Blackbox Exporter Image tag (immutable tags are recommended)
|
||||
## @param blackboxExporter.image.pullSecrets Specify docker-registry secret names as an array
|
||||
##
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/blackbox-exporter
|
||||
tag: 0.20.0-debian-10-r20
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
## Example:
|
||||
## pullSecrets:
|
||||
## - myRegistryKeySecretName
|
||||
##
|
||||
pullSecrets: []
|
||||
|
||||
## @param blackboxExporter.extraEnvVars Array with extra environment variables to add to blackboxExporter nodes
|
||||
## e.g:
|
||||
## extraEnvVars:
|
||||
## - name: FOO
|
||||
## value: "bar"
|
||||
##
|
||||
extraEnvVars: []
|
||||
## @param blackboxExporter.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for blackboxExporter nodes
|
||||
##
|
||||
extraEnvVarsCM: ""
|
||||
## @param blackboxExporter.extraEnvVarsSecret Name of existing Secret containing extra env vars for blackboxExporter nodes
|
||||
##
|
||||
extraEnvVarsSecret: ""
|
||||
## @param blackboxExporter.command Override default container command (useful when using custom images)
|
||||
##
|
||||
command: []
|
||||
## @param blackboxExporter.args Override default container args (useful when using custom images)
|
||||
##
|
||||
args: []
|
||||
## @param blackboxExporter.replicaCount Number of Blackbox Exporter replicas to deploy
|
||||
##
|
||||
replicaCount: 1
|
||||
## Configure extra options for Blackbox Exporter container liveness, readiness and startup probes
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
|
||||
## @param blackboxExporter.livenessProbe.enabled Enable livenessProbe on Blackbox Exporter nodes
|
||||
## @param blackboxExporter.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
||||
## @param blackboxExporter.livenessProbe.periodSeconds Period seconds for livenessProbe
|
||||
## @param blackboxExporter.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
||||
## @param blackboxExporter.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
||||
## @param blackboxExporter.livenessProbe.successThreshold Success threshold for livenessProbe
|
||||
##
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
## @param blackboxExporter.readinessProbe.enabled Enable readinessProbe on Blackbox Exporter nodes
|
||||
## @param blackboxExporter.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
||||
## @param blackboxExporter.readinessProbe.periodSeconds Period seconds for readinessProbe
|
||||
## @param blackboxExporter.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
||||
## @param blackboxExporter.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
||||
## @param blackboxExporter.readinessProbe.successThreshold Success threshold for readinessProbe
|
||||
##
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
failureThreshold: 3
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
## @param blackboxExporter.startupProbe.enabled Enable startupProbe on Blackbox Exporter containers
|
||||
## @param blackboxExporter.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
||||
## @param blackboxExporter.startupProbe.periodSeconds Period seconds for startupProbe
|
||||
## @param blackboxExporter.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
||||
## @param blackboxExporter.startupProbe.failureThreshold Failure threshold for startupProbe
|
||||
## @param blackboxExporter.startupProbe.successThreshold Success threshold for startupProbe
|
||||
##
|
||||
startupProbe:
|
||||
enabled: false
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 15
|
||||
successThreshold: 1
|
||||
## @param blackboxExporter.customLivenessProbe Custom livenessProbe that overrides the default one
|
||||
##
|
||||
customLivenessProbe: {}
|
||||
## @param blackboxExporter.customReadinessProbe Custom readinessProbe that overrides the default one
|
||||
##
|
||||
customReadinessProbe: {}
|
||||
## @param blackboxExporter.customStartupProbe Custom startupProbe that overrides the default one
|
||||
##
|
||||
customStartupProbe: {}
|
||||
## @param blackboxExporter.configuration [object] Blackbox Exporter configuration
|
||||
##
|
||||
configuration: |
|
||||
"modules":
|
||||
"http_2xx":
|
||||
"http":
|
||||
"preferred_ip_protocol": "ip4"
|
||||
"prober": "http"
|
||||
"http_post_2xx":
|
||||
"http":
|
||||
"method": "POST"
|
||||
"preferred_ip_protocol": "ip4"
|
||||
"prober": "http"
|
||||
"irc_banner":
|
||||
"prober": "tcp"
|
||||
"tcp":
|
||||
"preferred_ip_protocol": "ip4"
|
||||
"query_response":
|
||||
- "send": "NICK prober"
|
||||
- "send": "USER prober prober prober :prober"
|
||||
- "expect": "PING :([^ ]+)"
|
||||
"send": "PONG ${1}"
|
||||
- "expect": "^:[^ ]+ 001"
|
||||
"pop3s_banner":
|
||||
"prober": "tcp"
|
||||
"tcp":
|
||||
"preferred_ip_protocol": "ip4"
|
||||
"query_response":
|
||||
- "expect": "^+OK"
|
||||
"tls": true
|
||||
"tls_config":
|
||||
"insecure_skip_verify": false
|
||||
"ssh_banner":
|
||||
"prober": "tcp"
|
||||
"tcp":
|
||||
"preferred_ip_protocol": "ip4"
|
||||
"query_response":
|
||||
- "expect": "^SSH-2.0-"
|
||||
"tcp_connect":
|
||||
"prober": "tcp"
|
||||
"tcp":
|
||||
"preferred_ip_protocol": "ip4"
|
||||
|
||||
## @param blackboxExporter.existingConfigMap ConfigMap pointing to the Blackbox Exporter configuration
|
||||
##
|
||||
existingConfigMap: ""
|
||||
## @param blackboxExporter.containerPorts.http Blackbox Exporter HTTP container port
|
||||
##
|
||||
containerPorts:
|
||||
http: 19115
|
||||
|
||||
serviceAccount:
|
||||
## @param blackboxExporter.serviceAccount.create Enable creation of ServiceAccount for WordPress pod
|
||||
##
|
||||
create: true
|
||||
## @param blackboxExporter.serviceAccount.name The name of the ServiceAccount to use.
|
||||
## If not set and create is true, a name is generated using the common.names.fullname template
|
||||
##
|
||||
name: ""
|
||||
## @param blackboxExporter.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
|
||||
## Can be set to false if pods using this serviceAccount do not need to use K8s API
|
||||
##
|
||||
automountServiceAccountToken: true
|
||||
## @param blackboxExporter.serviceAccount.annotations Additional custom annotations for the ServiceAccount
|
||||
##
|
||||
annotations: {}
|
||||
|
||||
## Blackbox Exporter resource requests and limits
|
||||
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
|
||||
## @param blackboxExporter.resources.limits The resources limits for the blackboxExporter containers
|
||||
## @param blackboxExporter.resources.requests The requested resources for the blackboxExporter containers
|
||||
##
|
||||
resources:
|
||||
limits: {}
|
||||
requests: {}
|
||||
## Configure Pods Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
||||
## @param blackboxExporter.podSecurityContext.enabled Enabled Blackbox Exporter pods' Security Context
|
||||
## @param blackboxExporter.podSecurityContext.fsGroup Set Blackbox Exporter pod's Security Context fsGroup
|
||||
##
|
||||
podSecurityContext:
|
||||
enabled: true
|
||||
fsGroup: 1001
|
||||
## Configure Container Security Context
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
|
||||
## @param blackboxExporter.containerSecurityContext.enabled Enabled Blackbox Exporter containers' Security Context
|
||||
## @param blackboxExporter.containerSecurityContext.runAsUser Set Blackbox Exporter containers' Security Context runAsUser
|
||||
## @param blackboxExporter.containerSecurityContext.runAsNonRoot Set Blackbox Exporter containers' Security Context runAsNonRoot
|
||||
##
|
||||
containerSecurityContext:
|
||||
enabled: true
|
||||
runAsUser: 1001
|
||||
runAsNonRoot: true
|
||||
## @param blackboxExporter.lifecycleHooks for the blackboxExporter container(s) to automate configuration before or after startup
|
||||
##
|
||||
lifecycleHooks: {}
|
||||
## @param blackboxExporter.hostAliases blackboxExporter pods host aliases
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
## @param blackboxExporter.podLabels Extra labels for blackboxExporter pods
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
|
||||
##
|
||||
podLabels: {}
|
||||
## @param blackboxExporter.podAnnotations Annotations for blackboxExporter pods
|
||||
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
||||
##
|
||||
podAnnotations: {}
|
||||
## @param blackboxExporter.podAffinityPreset Pod affinity preset. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard`
|
||||
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
||||
##
|
||||
podAffinityPreset: ""
|
||||
## @param blackboxExporter.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard`
|
||||
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
|
||||
##
|
||||
podAntiAffinityPreset: soft
|
||||
## Node blackboxExporter.affinity preset
|
||||
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
|
||||
##
|
||||
nodeAffinityPreset:
|
||||
## @param blackboxExporter.nodeAffinityPreset.type Node affinity preset type. Ignored if `blackboxExporter.affinity` is set. Allowed values: `soft` or `hard`
|
||||
##
|
||||
type: ""
|
||||
## @param blackboxExporter.nodeAffinityPreset.key Node label key to match. Ignored if `blackboxExporter.affinity` is set
|
||||
##
|
||||
key: ""
|
||||
## @param blackboxExporter.nodeAffinityPreset.values Node label values to match. Ignored if `blackboxExporter.affinity` is set
|
||||
## E.g.
|
||||
## values:
|
||||
## - e2e-az1
|
||||
## - e2e-az2
|
||||
##
|
||||
values: []
|
||||
## @param blackboxExporter.affinity Affinity for Blackbox Exporter pods assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
## NOTE: `blackboxExporter.podAffinityPreset`, `blackboxExporter.podAntiAffinityPreset`, and `blackboxExporter.nodeAffinityPreset` will be ignored when it's set
|
||||
##
|
||||
affinity: {}
|
||||
## @param blackboxExporter.nodeSelector Node labels for Blackbox Exporter pods assignment
|
||||
## ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
##
|
||||
nodeSelector: {}
|
||||
## @param blackboxExporter.tolerations Tolerations for Blackbox Exporter pods assignment
|
||||
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
## @param blackboxExporter.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains
|
||||
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
|
||||
##
|
||||
topologySpreadConstraints: {}
|
||||
## @param blackboxExporter.priorityClassName Blackbox Exporter pods' priorityClassName
|
||||
##
|
||||
priorityClassName: ""
|
||||
## @param blackboxExporter.schedulerName Kubernetes pod scheduler registry
|
||||
## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
schedulerName: ""
|
||||
## @param blackboxExporter.updateStrategy.type Blackbox Exporter statefulset strategy type
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
## @param blackboxExporter.extraVolumes Optionally specify extra list of additional volumes for the Blackbox Exporter pod(s)
|
||||
##
|
||||
extraVolumes: []
|
||||
## @param blackboxExporter.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Blackbox Exporter container(s)
|
||||
##
|
||||
extraVolumeMounts: []
|
||||
## @param blackboxExporter.sidecars Add additional sidecar containers to the Blackbox Exporter pod(s)
|
||||
## e.g:
|
||||
## sidecars:
|
||||
## - name: your-image-name
|
||||
## image: your-image
|
||||
## imagePullPolicy: Always
|
||||
## ports:
|
||||
## - name: portname
|
||||
## containerPort: 1234
|
||||
##
|
||||
sidecars: []
|
||||
## @param blackboxExporter.initContainers Add additional init containers to the Blackbox Exporter pod(s)
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
||||
## e.g:
|
||||
## initContainers:
|
||||
## - name: your-image-name
|
||||
## image: your-image
|
||||
## imagePullPolicy: Always
|
||||
## command: ['sh', '-c', 'echo "hello world"']
|
||||
##
|
||||
initContainers: []
|
||||
|
||||
## @section Blackbox Exporter Traffic Exposure Parameters
|
||||
##
|
||||
|
||||
## blackboxExporter service parameters
|
||||
##
|
||||
service:
|
||||
## @param blackboxExporter.service.type Blackbox Exporter service type
|
||||
##
|
||||
type: ClusterIP
|
||||
## @param blackboxExporter.service.ports.http Blackbox Exporter HTTP service port
|
||||
##
|
||||
ports:
|
||||
http: 19115
|
||||
## Node ports to expose
|
||||
## NOTE: choose port between <30000-32767>
|
||||
## @param blackboxExporter.service.nodePorts.http Node port for HTTP
|
||||
##
|
||||
nodePorts:
|
||||
http: ""
|
||||
## @param blackboxExporter.service.sessionAffinity Control where client requests go, to the same pod or round-robin
|
||||
## Values: ClientIP or None
|
||||
## ref: https://kubernetes.io/docs/user-guide/services/
|
||||
##
|
||||
sessionAffinity: None
|
||||
## @param blackboxExporter.service.clusterIP Blackbox Exporter service Cluster IP
|
||||
## e.g.:
|
||||
## clusterIP: None
|
||||
##
|
||||
clusterIP: ""
|
||||
## @param blackboxExporter.service.loadBalancerIP Blackbox Exporter service Load Balancer IP
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
|
||||
##
|
||||
loadBalancerIP: ""
|
||||
## @param blackboxExporter.service.loadBalancerSourceRanges Blackbox Exporter service Load Balancer sources
|
||||
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
||||
## e.g:
|
||||
## loadBalancerSourceRanges:
|
||||
## - 10.10.10.0/24
|
||||
##
|
||||
loadBalancerSourceRanges: []
|
||||
## @param blackboxExporter.service.externalTrafficPolicy Blackbox Exporter service external traffic policy
|
||||
## ref https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
|
||||
##
|
||||
externalTrafficPolicy: Cluster
|
||||
## @param blackboxExporter.service.annotations Additional custom annotations for Blackbox Exporter service
|
||||
##
|
||||
annotations: {}
|
||||
## @param blackboxExporter.service.extraPorts Extra ports to expose in the Blackbox Exporter service
|
||||
##
|
||||
extraPorts: []
|
||||
|
||||
## Component scraping the kube-apiserver
|
||||
##
|
||||
kubeApiServer:
|
||||
@@ -1688,6 +2044,7 @@ kubeControllerManager:
|
||||
##
|
||||
insecureSkipVerify: ""
|
||||
## @param kubeControllerManager.serviceMonitor.serverName Name of the server to use when validating TLS certificate
|
||||
##
|
||||
serverName: ""
|
||||
## @param kubeControllerManager.serviceMonitor.metricRelabelings Metric relabeling
|
||||
## ref: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
|
||||
@@ -1851,6 +2208,7 @@ kubeProxy:
|
||||
relabelings: []
|
||||
|
||||
## @section RBAC parameters
|
||||
##
|
||||
|
||||
## Role Based Access
|
||||
## ref: https://kubernetes.io/docs/admin/authorization/rbac/
|
||||
|
||||
Reference in New Issue
Block a user