Skip to content

Commit 4620569

Browse files
authored
Merge pull request #85 from coder/callum/bump-prometheus-chart-3.x
chore(coder-observability): bump prometheus chart to 29.20.1 (Prometheus 3.13.2)
2 parents 673de8d + 0080740 commit 4620569

5 files changed

Lines changed: 84 additions & 49 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ If you switch from classic to native histograms, dashboards may need to account
289289
| https://grafana.github.io/helm-charts | loki | ~v6.7.3 |
290290
| https://grafana.github.io/helm-charts | pyroscope | ~v1.14.1 |
291291
| https://grafana.github.io/helm-charts | tempo | ~v1.23.0 |
292-
| https://prometheus-community.github.io/helm-charts | prometheus | ~v25.24.1 |
292+
| https://prometheus-community.github.io/helm-charts | prometheus | ~v29.20.1 |
293293

294294
Each subchart can be disabled by setting the `enabled` field to `false`.
295295

@@ -570,6 +570,16 @@ values which are defined [here](https://github.com/grafana/helm-charts/tree/main
570570
| prometheus.prometheus-node-exporter.fullnameOverride | string | `"node-exporter"` | |
571571
| prometheus.prometheus-node-exporter.podAnnotations."prometheus.io/scrape" | string | `"true"` | |
572572
| prometheus.prometheus-pushgateway.enabled | bool | `false` | |
573+
| prometheus.scrapeConfigs.kubernetes-api-servers.enabled | bool | `false` | |
574+
| prometheus.scrapeConfigs.kubernetes-nodes-cadvisor.enabled | bool | `false` | |
575+
| prometheus.scrapeConfigs.kubernetes-nodes.enabled | bool | `false` | |
576+
| prometheus.scrapeConfigs.kubernetes-pods-slow.enabled | bool | `false` | |
577+
| prometheus.scrapeConfigs.kubernetes-pods.enabled | bool | `false` | |
578+
| prometheus.scrapeConfigs.kubernetes-service-endpoints-slow.enabled | bool | `false` | |
579+
| prometheus.scrapeConfigs.kubernetes-service-endpoints.enabled | bool | `false` | |
580+
| prometheus.scrapeConfigs.kubernetes-services.enabled | bool | `false` | |
581+
| prometheus.scrapeConfigs.prometheus-pushgateway.enabled | bool | `false` | |
582+
| prometheus.scrapeConfigs.prometheus.enabled | bool | `false` | |
573583
| prometheus.server.extraArgs."log.level" | string | `"debug"` | |
574584
| prometheus.server.extraConfigmapMounts[0].configMap | string | `"coder-metrics-alerts"` | |
575585
| prometheus.server.extraConfigmapMounts[0].mountPath | string | `"/etc/config/alerts"` | |

‎coder-observability/Chart.lock‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies:
77
version: 7.3.12
88
- name: prometheus
99
repository: https://prometheus-community.github.io/helm-charts
10-
version: 25.24.2
10+
version: 29.20.1
1111
- name: loki
1212
repository: https://grafana.github.io/helm-charts
1313
version: 6.7.4
@@ -17,5 +17,5 @@ dependencies:
1717
- name: grafana-agent
1818
repository: https://grafana.github.io/helm-charts
1919
version: 0.37.0
20-
digest: sha256:537af466b8fca7d1ef78c62cfeae304e8e76e25b80e52f317da3ac3f411ba1f6
21-
generated: "2025-10-13T14:43:48.263512398+02:00"
20+
digest: sha256:7e048e449462145b6336890f02048555d6002430cf7b8aa3d6c17bf73035b1ec
21+
generated: "2026-09-21T20:39:23.727258319Z"

‎coder-observability/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
- name: prometheus
1616
condition: prometheus.enabled
1717
repository: https://prometheus-community.github.io/helm-charts
18-
version: '~v25.24.1'
18+
version: '~v29.20.1'
1919
- name: loki
2020
condition: loki.enabled
2121
repository: https://grafana.github.io/helm-charts

‎coder-observability/values.yaml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,32 @@ prometheus:
531531
rule_files:
532532
- /etc/config/alerts/*.yaml
533533

534+
# As of prometheus chart v28+ the default scrape jobs moved from
535+
# serverFiles.prometheus.yml.scrape_configs to this top-level map. Disable each
536+
# one so scraping stays managed by the collector (an empty map does not
537+
# override the chart defaults; each job must be disabled explicitly).
538+
scrapeConfigs:
539+
prometheus:
540+
enabled: false
541+
kubernetes-api-servers:
542+
enabled: false
543+
kubernetes-nodes:
544+
enabled: false
545+
kubernetes-nodes-cadvisor:
546+
enabled: false
547+
kubernetes-service-endpoints:
548+
enabled: false
549+
kubernetes-service-endpoints-slow:
550+
enabled: false
551+
prometheus-pushgateway:
552+
enabled: false
553+
kubernetes-services:
554+
enabled: false
555+
kubernetes-pods:
556+
enabled: false
557+
kubernetes-pods-slow:
558+
enabled: false
559+
534560
testFramework:
535561
enabled: false
536562

‎compiled/resources.yaml‎

Lines changed: 43 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ metadata:
140140
app.kubernetes.io/component: server
141141
app.kubernetes.io/name: prometheus
142142
app.kubernetes.io/instance: coder-observability
143-
app.kubernetes.io/managed-by: Helm
144143
app.kubernetes.io/part-of: prometheus
145144
name: prometheus
146145
namespace: coder-observability
@@ -735,7 +734,6 @@ metadata:
735734
app.kubernetes.io/component: server
736735
app.kubernetes.io/name: prometheus
737736
app.kubernetes.io/instance: coder-observability
738-
app.kubernetes.io/managed-by: Helm
739737
app.kubernetes.io/part-of: prometheus
740738
name: prometheus
741739
namespace: coder-observability
@@ -750,6 +748,7 @@ data:
750748
evaluation_interval: 30s
751749
scrape_interval: 1m
752750
scrape_timeout: 10s
751+
scrape_configs:
753752
rule_files:
754753
- /etc/config/alerts/*.yaml
755754
scrape_configs: []
@@ -11113,23 +11112,23 @@ rules:
1111311112
resources:
1111411113
- cronjobs
1111511114
verbs: ["list", "watch"]
11116-
- apiGroups: ["extensions", "apps"]
11115+
- apiGroups: ["apps"]
1111711116
resources:
1111811117
- daemonsets
1111911118
verbs: ["list", "watch"]
11120-
- apiGroups: ["extensions", "apps"]
11119+
- apiGroups: ["apps"]
1112111120
resources:
1112211121
- deployments
1112311122
verbs: ["list", "watch"]
11124-
- apiGroups: [""]
11123+
- apiGroups: ["discovery.k8s.io"]
1112511124
resources:
11126-
- endpoints
11125+
- endpointslices
1112711126
verbs: ["list", "watch"]
1112811127
- apiGroups: ["autoscaling"]
1112911128
resources:
1113011129
- horizontalpodautoscalers
1113111130
verbs: ["list", "watch"]
11132-
- apiGroups: ["extensions", "networking.k8s.io"]
11131+
- apiGroups: ["networking.k8s.io"]
1113311132
resources:
1113411133
- ingresses
1113511134
verbs: ["list", "watch"]
@@ -11177,7 +11176,7 @@ rules:
1117711176
resources:
1117811177
- pods
1117911178
verbs: ["list", "watch"]
11180-
- apiGroups: ["extensions", "apps"]
11179+
- apiGroups: ["apps"]
1118111180
resources:
1118211181
- replicasets
1118311182
verbs: ["list", "watch"]
@@ -11222,15 +11221,13 @@ metadata:
1122211221
app.kubernetes.io/component: server
1122311222
app.kubernetes.io/name: prometheus
1122411223
app.kubernetes.io/instance: coder-observability
11225-
app.kubernetes.io/managed-by: Helm
1122611224
app.kubernetes.io/part-of: prometheus
1122711225
name: prometheus
1122811226
rules:
1122911227
- apiGroups:
1123011228
- ""
1123111229
resources:
1123211230
- nodes
11233-
- nodes/proxy
1123411231
- nodes/metrics
1123511232
- services
1123611233
- endpoints
@@ -11242,7 +11239,6 @@ rules:
1124211239
- list
1124311240
- watch
1124411241
- apiGroups:
11245-
- "extensions"
1124611242
- "networking.k8s.io"
1124711243
resources:
1124811244
- ingresses/status
@@ -11348,7 +11344,6 @@ metadata:
1134811344
app.kubernetes.io/component: server
1134911345
app.kubernetes.io/name: prometheus
1135011346
app.kubernetes.io/instance: coder-observability
11351-
app.kubernetes.io/managed-by: Helm
1135211347
app.kubernetes.io/part-of: prometheus
1135311348
name: prometheus
1135411349
subjects:
@@ -11921,10 +11916,10 @@ metadata:
1192111916
spec:
1192211917
type: "ClusterIP"
1192311918
ports:
11924-
- name: "http"
11919+
- name: http
1192511920
protocol: TCP
1192611921
port: 8080
11927-
targetPort: 8080
11922+
targetPort: http
1192811923
selector:
1192911924
app.kubernetes.io/name: kube-state-metrics
1193011925
app.kubernetes.io/instance: coder-observability
@@ -11962,7 +11957,6 @@ metadata:
1196211957
app.kubernetes.io/component: server
1196311958
app.kubernetes.io/name: prometheus
1196411959
app.kubernetes.io/instance: coder-observability
11965-
app.kubernetes.io/managed-by: Helm
1196611960
app.kubernetes.io/part-of: prometheus
1196711961
name: prometheus-headless
1196811962
namespace: coder-observability
@@ -11986,7 +11980,6 @@ metadata:
1198611980
app.kubernetes.io/component: server
1198711981
app.kubernetes.io/name: prometheus
1198811982
app.kubernetes.io/instance: coder-observability
11989-
app.kubernetes.io/managed-by: Helm
1199011983
app.kubernetes.io/part-of: prometheus
1199111984
name: prometheus
1199211985
namespace: coder-observability
@@ -12200,13 +12193,13 @@ spec:
1220012193
cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
1220112194
prometheus.io/scrape: "true"
1220212195
labels:
12203-
helm.sh/chart: prometheus-node-exporter-4.37.0
12196+
helm.sh/chart: prometheus-node-exporter-4.56.1
1220412197
app.kubernetes.io/managed-by: Helm
1220512198
app.kubernetes.io/component: metrics
1220612199
app.kubernetes.io/part-of: prometheus-node-exporter
1220712200
app.kubernetes.io/name: prometheus-node-exporter
1220812201
app.kubernetes.io/instance: coder-observability
12209-
app.kubernetes.io/version: "1.8.1"
12202+
app.kubernetes.io/version: "1.12.1"
1221012203
spec:
1221112204
automountServiceAccountToken: false
1221212205
securityContext:
@@ -12239,7 +12232,7 @@ spec:
1223912232
httpGet:
1224012233
httpHeaders:
1224112234
path: /
12242-
port: 9100
12235+
port: metrics
1224312236
scheme: HTTP
1224412237
initialDelaySeconds: 0
1224512238
periodSeconds: 10
@@ -12250,7 +12243,7 @@ spec:
1225012243
httpGet:
1225112244
httpHeaders:
1225212245
path: /
12253-
port: 9100
12246+
port: metrics
1225412247
scheme: HTTP
1225512248
initialDelaySeconds: 0
1225612249
periodSeconds: 10
@@ -12269,6 +12262,20 @@ spec:
1226912262
readOnly: true
1227012263
hostNetwork: true
1227112264
hostPID: true
12265+
hostIPC: false
12266+
affinity:
12267+
nodeAffinity:
12268+
requiredDuringSchedulingIgnoredDuringExecution:
12269+
nodeSelectorTerms:
12270+
- matchExpressions:
12271+
- key: eks.amazonaws.com/compute-type
12272+
operator: NotIn
12273+
values:
12274+
- fargate
12275+
- key: type
12276+
operator: NotIn
12277+
values:
12278+
- virtual-kubelet
1227212279
nodeSelector:
1227312280
kubernetes.io/os: linux
1227412281
tolerations:
@@ -12495,13 +12502,13 @@ spec:
1249512502
template:
1249612503
metadata:
1249712504
labels:
12498-
helm.sh/chart: kube-state-metrics-5.21.0
12505+
helm.sh/chart: kube-state-metrics-8.0.0
1249912506
app.kubernetes.io/managed-by: Helm
1250012507
app.kubernetes.io/component: metrics
1250112508
app.kubernetes.io/part-of: kube-state-metrics
1250212509
app.kubernetes.io/name: kube-state-metrics
1250312510
app.kubernetes.io/instance: coder-observability
12504-
app.kubernetes.io/version: "2.12.0"
12511+
app.kubernetes.io/version: "2.19.1"
1250512512
annotations:
1250612513
prometheus.io/scrape: "true"
1250712514
spec:
@@ -12515,21 +12522,23 @@ spec:
1251512522
runAsUser: 65534
1251612523
seccompProfile:
1251712524
type: RuntimeDefault
12525+
dnsPolicy: ClusterFirst
1251812526
containers:
1251912527
- name: kube-state-metrics
1252012528
args:
1252112529
- --port=8080
12522-
- --resources=certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpoints,horizontalpodautoscalers,ingresses,jobs,leases,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments
12530+
- --resources=certificatesigningrequests,configmaps,cronjobs,daemonsets,deployments,endpointslices,horizontalpodautoscalers,ingresses,jobs,leases,limitranges,mutatingwebhookconfigurations,namespaces,networkpolicies,nodes,persistentvolumeclaims,persistentvolumes,poddisruptionbudgets,pods,replicasets,replicationcontrollers,resourcequotas,secrets,services,statefulsets,storageclasses,validatingwebhookconfigurations,volumeattachments
1252312531
imagePullPolicy: IfNotPresent
1252412532
ports:
1252512533
- containerPort: 8080
12526-
name: "http"
12534+
name: http
12535+
- containerPort: 8081
12536+
name: metrics
1252712537
livenessProbe:
1252812538
failureThreshold: 3
1252912539
httpGet:
12530-
httpHeaders:
12531-
path: /healthz
12532-
port: 8080
12540+
path: /livez
12541+
port: http
1253312542
scheme: HTTP
1253412543
initialDelaySeconds: 5
1253512544
periodSeconds: 10
@@ -12538,9 +12547,8 @@ spec:
1253812547
readinessProbe:
1253912548
failureThreshold: 3
1254012549
httpGet:
12541-
httpHeaders:
12542-
path: /
12543-
port: 8080
12550+
path: /readyz
12551+
port: metrics
1254412552
scheme: HTTP
1254512553
initialDelaySeconds: 5
1254612554
periodSeconds: 10
@@ -13311,7 +13319,7 @@ spec:
1331113319
app.kubernetes.io/name: alertmanager
1331213320
app.kubernetes.io/instance: coder-observability
1331313321
annotations:
13314-
checksum/config: 490f47b0d70495b76347dac06d9734b3074df82e0cc70a914ab7859d725f850b
13322+
checksum/config: e3369d0aa5f1fbb1e2429a202bc7313006c888d3379e8698200a31d48f7ba88a
1331513323
prometheus.io/scrape: "true"
1331613324
spec:
1331713325
automountServiceAccountToken: true
@@ -13369,22 +13377,22 @@ spec:
1336913377
requests:
1337013378
storage: 2Gi
1337113379
---
13372-
# Source: coder-observability/charts/prometheus/templates/sts.yaml
13380+
# Source: coder-observability/charts/prometheus/templates/deploy.yaml
1337313381
apiVersion: apps/v1
1337413382
kind: StatefulSet
1337513383
metadata:
1337613384
labels:
1337713385
app.kubernetes.io/component: server
1337813386
app.kubernetes.io/name: prometheus
1337913387
app.kubernetes.io/instance: coder-observability
13380-
app.kubernetes.io/managed-by: Helm
1338113388
app.kubernetes.io/part-of: prometheus
1338213389
name: prometheus
1338313390
namespace: coder-observability
1338413391
spec:
1338513392
persistentVolumeClaimRetentionPolicy:
1338613393
whenDeleted: Retain
1338713394
whenScaled: Retain
13395+
podManagementPolicy: OrderedReady
1338813396
serviceName: prometheus-headless
1338913397
selector:
1339013398
matchLabels:
@@ -13393,7 +13401,6 @@ spec:
1339313401
app.kubernetes.io/instance: coder-observability
1339413402
replicas: 1
1339513403
revisionHistoryLimit: 10
13396-
podManagementPolicy: OrderedReady
1339713404
template:
1339813405
metadata:
1339913406
annotations:
@@ -13402,9 +13409,8 @@ spec:
1340213409
app.kubernetes.io/component: server
1340313410
app.kubernetes.io/name: prometheus
1340413411
app.kubernetes.io/instance: coder-observability
13405-
app.kubernetes.io/version: v2.53.1
13406-
helm.sh/chart: prometheus-25.24.2
13407-
app.kubernetes.io/managed-by: Helm
13412+
app.kubernetes.io/version: v3.13.2
13413+
helm.sh/chart: prometheus-29.20.1
1340813414
app.kubernetes.io/part-of: prometheus
1340913415
spec:
1341013416
enableServiceLinks: true
@@ -13434,12 +13440,6 @@ spec:
1343413440
port: metrics
1343513441
scheme: HTTP
1343613442
periodSeconds: 10
13437-
startupProbe:
13438-
httpGet:
13439-
path: /healthz
13440-
port: metrics
13441-
scheme: HTTP
13442-
periodSeconds: 10
1344313443
volumeMounts:
1344413444
- name: config-volume
1344513445
mountPath: /etc/config
@@ -13492,7 +13492,6 @@ spec:
1349213492
mountPath: /etc/config/alerts
1349313493
subPath:
1349413494
readOnly:
13495-
hostNetwork: false
1349613495
dnsPolicy: ClusterFirst
1349713496
securityContext:
1349813497
fsGroup: 65534

0 commit comments

Comments
 (0)