Skip to content

Commit

Permalink
Update kube-prometheus-stack to 56.6.2 (#337)
Browse files Browse the repository at this point in the history
Also, make minor changes to cluster.tf as 1.24 goes obsolete.

This was deployed and tested on private GCP project
  • Loading branch information
vivekbagade authored Feb 20, 2024
1 parent 265e6b5 commit 791d254
Show file tree
Hide file tree
Showing 7 changed files with 5,961 additions and 2,371 deletions.
4 changes: 2 additions & 2 deletions src/app_charts/prometheus/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//bazel:app.bzl", "app")

helm_template(
name = "prometheus-operator-chart.cloud",
chart = "//third_party/kube-prometheus-stack:kube-prometheus-stack-41.5.1.tgz",
chart = "//third_party/kube-prometheus-stack:kube-prometheus-stack-56.6.2.tgz",
helm_version = 3,
# The namespace will later be replaced with the actual one.
namespace = "HELM-NAMESPACE",
Expand All @@ -15,7 +15,7 @@ helm_template(

helm_template(
name = "prometheus-operator-chart.robot",
chart = "//third_party/kube-prometheus-stack:kube-prometheus-stack-41.5.1.tgz",
chart = "//third_party/kube-prometheus-stack:kube-prometheus-stack-56.6.2.tgz",
helm_version = 3,
# The namespace will later be replaced with the actual one.
namespace = "HELM-NAMESPACE",
Expand Down
4 changes: 3 additions & 1 deletion src/bootstrap/cloud/terraform/cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# service account for the nodes. This service account cannot be used by the
# workloads: see workload-identity.tf for those service accounts.

# Might need to update this to a later version if the version here is too far
# behind and is removed as a valid version.
locals {
min_k8s_master_version = "1.24"
min_k8s_master_version = "1.27"
}

resource "google_container_cluster" "cloud-robotics" {
Expand Down
193 changes: 113 additions & 80 deletions third_party/kube-prometheus-stack/00-crds.yaml

Large diffs are not rendered by default.

8,129 changes: 5,842 additions & 2,287 deletions third_party/kube-prometheus-stack/01-crds.yaml

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion third_party/kube-prometheus-stack/update_crd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# match the version to the app version in this command:
# helm search repo prometheus-community/kube-prometheus-stack --version='x.y.z'
VERSION=0.60
VERSION=0.71
# https://github.com/prometheus-operator/prometheus-operator/tree/main/example/prometheus-operator-crd
# TODO(ensonic): can we tak this directly from the chart?
BASEURL="https://raw.githubusercontent.com/prometheus-operator/prometheus-operator/release-${VERSION}/example/prometheus-operator-crd/monitoring.coreos.com"
Expand Down

0 comments on commit 791d254

Please sign in to comment.