Skip to content

Commit 37961dc

Browse files
committed
cloud: Upgrade Grafana to latest release
1 parent f0f1c76 commit 37961dc

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

kcidb/cloud/run.sh

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,18 @@ function run_deploy() {
123123
template:
124124
metadata:
125125
annotations:
126-
autoscaling.knative.dev/minScale: "0"
126+
autoscaling.knative.dev/minScale: "1"
127127
autoscaling.knative.dev/maxScale: "4"
128128
run.googleapis.com/container-dependencies:
129129
'{"grafana": ["cloud-sql-proxy"]}'
130+
run.googleapis.com/startup-cpu-boost: "true"
131+
run.googleapis.com/cpu-throttling: "false"
130132
spec:
131133
serviceAccountName:
132134
$(yaml_quote "$grafana_service@$project.iam.gserviceaccount.com")
133135
containerConcurrency: 512
134136
containers:
135-
- image: docker.io/grafana/grafana:6.6.0
137+
- image: docker.io/grafana/grafana:11.2.2
136138
name: grafana
137139
ports:
138140
- containerPort: 3000
@@ -150,15 +152,6 @@ function run_deploy() {
150152
secretKeyRef:
151153
name: $(yaml_quote "$(password_secret_get_name psql_grafana)")
152154
key: latest
153-
- name: GF_INSTALL_PLUGINS
154-
value: "\\
155-
doitintl-bigquery-datasource,\\
156-
https://github.com/kernelci/\\
157-
grafana-singlevalue-panel/\\
158-
releases/download/2.0.0/\\
159-
grafana-singlevalue-panel-2.0.0.zip;\\
160-
grafana-singlevalue-panel\\
161-
"
162155
- name: GF_SERVER_ROOT_URL
163156
value: $(yaml_quote "$grafana_url")
164157
- name: GF_AUTH_ANONYMOUS_ORG_NAME

0 commit comments

Comments
 (0)