prometheus-adapter
basisai/prometheus-adapter/helm
Prometheus Adapter Installs the Prometheus Adapter for the Custom Metrics API. Custom metrics are used in Kubernetes by Horizontal Pod Autoscalers to scale workloads based upon your own metric pulled from an external metrics provider like Prometheus. Requirements | Name | Version | |------|---------| | terraform | >= 0.14 | | helm | >= 2.4 | Providers | Name | Version | |------|---------| | helm | >= 2.4 | Modules No modules. Resources | Name | Type | |------|------| | helm_release.prometheus_adapter | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | affinity | Affinity for the pods | map(any) | {} | no | | chart\_name | Helm chart name to provision | string | "prometheus-adapter" | no | | chart\_namespace | Namespace
| Name | Type | Description | Default |
|---|---|---|---|
| rules_existing | string | ConfigMap containing existing rules | required |
| pod_labels | map(any) | Pod labels | {} |
| pod_security_context | map(any) | securityContext for the pod | {
"fsGroup": 10001
} |
| chart_version | string | Version of Chart to install. Set to empty to install the latest version | "" |
| max_history | number | Max History for Helm | 20 |
| replicas | number | Number of replicas | 1 |
| extra_arguments | list(any) | Extra arguments for the container | [] |
| custom_annotations | map(any) | Additional annotations to add to all resources | {} |
| service_port | string | Service port | "443" |
| extra_volume_mounts | list(any) | Extra volume mounts for the adapter container | [] |
| release_name | string | Helm release name for Prometheus | "prometheus-adapter" |
| affinity | map(any) | Affinity for the pods | {} |
| psp_enable | bool | Enable the use of pod security policies | true |
| rules_custom | list(any) | Custom metrics rules | [] |
| service_type | string | Service Type | "ClusterIP" |
| prometheus_url | string | Address for Prometheus | "http://prometheus.default.svc" |
| service_account_annotations | map(any) | Service Account Annotations | {} |
| tolerations | list(any) | Tolerations for the pod | [] |
| log_level | number | Numerical log level for the adapter | 4 |
| priority_class_name | string | Pod Priority Class name | "" |
| node_selector | map(any) | nodeSelector for the pod | {} |