diff --git a/README.md b/README.md index a47a7de..a670bde 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,51 @@ This modules uses Helm to deploy Prometheus to a cluster using the official char Versions are module variables, but latest versions are intended to be be reflected in the default values. - - +## Apply +On a successful apply: + +Apply complete! Resources: 20 added, 0 changed, 0 destroyed. + +Outputs: + +alertmanager_headless_internal_endpoint = { + "hostname" = "prometheus-alertmanager-headless.prometheus.svc.cluster.local" + "port_number" = 9093 + "url" = "http://prometheus-alertmanager.prometheus.svc.cluster.local:9093/" +} +alertmanager_internal_endpoint = { + "hostname" = "prometheus-alertmanager.prometheus.svc.cluster.local" + "port_number" = 9093 + "url" = "http://prometheus-alertmanager.prometheus.svc.cluster.local:9093/" +} +module_name = "tfmod-prometheus" +module_version = "0.0.2" +prometheus_namespace = "prometheus" +prometheus_server_internal_endpoint = { + "hostname" = "prometheus-server.prometheus.svc.cluster.local" + "port_number" = 9090 + "url" = "http://prometheus-server.prometheus.svc.cluster.local:9090/" +} +pushgateway_internal_endpoint = { + "hostname" = "prometheus-prometheus-pushgateway.prometheus.svc.cluster.local" + "port_number" = 9091 + "url" = "http://prometheus-prometheus-pushgateway.prometheus.svc.cluster.local:9091/" +} + +real 2m5.031s +user 0m40.822s +sys 0m6.055s + +## Verify + + +## Destroy +On a successful destroy: +Destroy complete! Resources: 20 destroyed. + +real 1m2.736s +user 0m29.403s +sys 0m3.489s ## Requirements diff --git a/variables.tf b/variables.tf index 483b268..ad3b3b7 100644 --- a/variables.tf +++ b/variables.tf @@ -15,25 +15,19 @@ variable "namespace" { default = "prometheus" } -# variable "create_namespace" { -# description = "Indicates whether the `namespace` needs to be created ('true') or already exists (not `true`)" -# type = bool -# default = true -# } - # helm repo add prometheus-community https://prometheus-community.github.io/helm-charts # helm search repo prometheus-community/prometheus | head -2 variable "prometheus_chart_version" { description = "The version of prometheus to install into the cluster." type = string - default = "25.25.0" + default = "25.26.0" } # The `APP VERSION` of the output found while determining the chart version variable "prometheus_server_tag" { description = "The image tag of prometheus server to install into the cluster." type = string - default = "v2.53.1" + default = "v2.54.0" } # helm show values prometheus-community/prometheus | less