Files
homelab-v/tofu/kubernetes/talos/machine-config/control-plane.yaml.tftpl
T
Vegard Hagen c4f7010759 feat(kube): enable metrics
Enable kube-controller-manager, etcd, and kube-scheduler metrics
Also disable kube-proxy metrics since Cilium replaces it

Signed-off-by: Vegard Hagen <[email protected]>
2025-07-31 23:24:03 +02:00

43 lines
894 B
Plaintext

# https://www.talos.dev/v1.10/reference/configuration/v1alpha1/config/
machine:
network:
interfaces:
- deviceSelector:
hardwareAddr: ${mac_address}
addresses:
- ${ip}/${subnet_mask}
routes:
- network: 0.0.0.0/0
gateway: ${gateway}
dhcp: false
%{ if vip != null }
vip:
ip: ${vip}
%{ endif }
cluster:
allowSchedulingOnControlPlanes: true
apiServer:
${indent(4, api_server)}
controllerManager:
extraArgs:
bind-address: 0.0.0.0
etcd:
extraArgs:
listen-metrics-urls: http://0.0.0.0:2381
scheduler:
extraArgs:
bind-address: 0.0.0.0
network:
cni:
name: none
proxy:
disabled: true
discovery:
enabled: true
registries:
service:
disabled: false
extraManifests: ${extra_manifests}
inlineManifests: ${inline_manifests}