From 37961dc68b00079620b0f31e85aa648452a3064c Mon Sep 17 00:00:00 2001 From: Nikolai Kondrashov Date: Wed, 9 Oct 2024 18:07:04 +0300 Subject: [PATCH] cloud: Upgrade Grafana to latest release --- kcidb/cloud/run.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/kcidb/cloud/run.sh b/kcidb/cloud/run.sh index 87486075..46642da6 100644 --- a/kcidb/cloud/run.sh +++ b/kcidb/cloud/run.sh @@ -123,16 +123,18 @@ function run_deploy() { template: metadata: annotations: - autoscaling.knative.dev/minScale: "0" + autoscaling.knative.dev/minScale: "1" autoscaling.knative.dev/maxScale: "4" run.googleapis.com/container-dependencies: '{"grafana": ["cloud-sql-proxy"]}' + run.googleapis.com/startup-cpu-boost: "true" + run.googleapis.com/cpu-throttling: "false" spec: serviceAccountName: $(yaml_quote "$grafana_service@$project.iam.gserviceaccount.com") containerConcurrency: 512 containers: - - image: docker.io/grafana/grafana:6.6.0 + - image: docker.io/grafana/grafana:11.2.2 name: grafana ports: - containerPort: 3000 @@ -150,15 +152,6 @@ function run_deploy() { secretKeyRef: name: $(yaml_quote "$(password_secret_get_name psql_grafana)") key: latest - - name: GF_INSTALL_PLUGINS - value: "\\ - doitintl-bigquery-datasource,\\ - https://github.com/kernelci/\\ - grafana-singlevalue-panel/\\ - releases/download/2.0.0/\\ - grafana-singlevalue-panel-2.0.0.zip;\\ - grafana-singlevalue-panel\\ - " - name: GF_SERVER_ROOT_URL value: $(yaml_quote "$grafana_url") - name: GF_AUTH_ANONYMOUS_ORG_NAME