devops-stack-module-kube-prometheus-stack
A DevOps Stack module to deploy and configure Kube-Prometheus-Stack.
The Kube-prometheus-stack chart used by this module is shipped in this repository as well, in order to avoid any unwanted behaviors caused by unsupported versions.
Current Chart Version | Original Repository | Default Values |
---|---|---|
44.3.0 |
Since this module is meant to be instantiated using its variants, the usage documentation is available in each variant ( AKS | EKS | KinD ).
Below you will only find the technical reference automatically generated from the *.tf
files on the root module.
Resources
The following resources are used by this module:
-
argocd_application.this (resource)
-
argocd_project.this (resource)
-
kubernetes_namespace.kube_prometheus_stack_namespace (resource)
-
null_resource.dependencies (resource)
-
null_resource.this (resource)
-
random_password.grafana_admin_password (resource)
-
random_password.oauth2_cookie_secret (resource)
-
utils_deep_merge_yaml.values (data source)
Optional Inputs
The following input variables are optional (have default values):
app_autosync
Description: Automated sync options for the Argo CD Application resource.
Type:
object({
allow_empty = optional(bool)
prune = optional(bool)
self_heal = optional(bool)
})
Default:
{
"allow_empty": false,
"prune": true,
"self_heal": true
}
metrics_storage_main
Description: Storage settings for the Thanos sidecar. Needs to be of type any
because the structure is different depending on the provider used.
Type: any
Default: {}
target_revision
Description: Override of target revision of the application chart.
Type: string
Default: "v1.0.0"
Outputs
The following outputs are exported:
alertmanager_enabled
Description: n/a
grafana_admin_password
Description: The admin password for Grafana.
grafana_enabled
Description: n/a
helm_values
Description: n/a
id
Description: n/a
prometheus_enabled
Description: n/a
Reference in table format
Show tables
= Providers
Name | Version |
---|---|
n/a |
|
n/a |
|
n/a |
|
n/a |
|
n/a |
= Resources
Name | Type |
---|---|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
resource |
|
data source |
= Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
Alertmanager settings |
|
|
no |
|
Automated sync options for the Argo CD Application resource. |
|
|
no |
|
n/a |
|
n/a |
yes |
|
n/a |
|
n/a |
yes |
|
n/a |
|
|
no |
|
n/a |
|
n/a |
yes |
|
n/a |
|
|
no |
|
Grafana settings |
|
|
no |
|
Helm values, passed as a list of HCL structures. |
|
|
no |
|
Storage settings for the Thanos sidecar. Needs to be of type |
|
|
no |
|
n/a |
|
|
no |
|
Prometheus settings |
|
|
no |
|
Override of target revision of the application chart. |
|
|
no |
= Outputs
Name | Description |
---|---|
n/a |
|
The admin password for Grafana. |
|
n/a |
|
n/a |
|
n/a |
|
n/a |