Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Sep 20, 2024
1 parent 068a242 commit d7702fa
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 10 deletions.
47 changes: 45 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

<!-- BEGIN_TF_DOCS -->
## Requirements
Expand Down
10 changes: 2 additions & 8 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d7702fa

Please sign in to comment.