Skip to content

Commit

Permalink
[talos] added prometheus metrics to patching resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberdev committed Jan 26, 2024
1 parent d3bc134 commit 4e37f71
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions config/talos/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ machine:
kubelet:
clusterDNS:
- 10.96.0.10
# https://www.talos.dev/v1.5/kubernetes-guides/configuration/deploy-metrics-server/#node-configuration
# https://www.talos.dev/v1.6/kubernetes-guides/configuration/deploy-metrics-server/#node-configuration
extraArgs:
rotate-server-certificates: true
# Democractic-CSI
# See: https://www.talos.dev/v1.5/kubernetes-guides/configuration/replicated-local-storage-with-openebs-jiva/#preparing-the-nodes
# See: https://www.talos.dev/v1.6/kubernetes-guides/configuration/replicated-local-storage-with-openebs-jiva/#preparing-the-nodes
extraMounts:
- destination: /var/openebs/local
type: bind
Expand Down Expand Up @@ -64,3 +64,10 @@ machine:
- node-three.infra
- node-three.local
- node-3.local
# https://kubito.dev/posts/talos-linux-kubernetes-metrics-server/
files:
- content: |
[metrics]
address = "0.0.0.0:11234"
path: /var/cri/conf.d/metrics.toml
op: create

0 comments on commit 4e37f71

Please sign in to comment.