snel.ansible/configs/talos/talos-patch.yaml

31 lines
909 B
YAML

debug: true
machine:
install:
bootloader: true
extensions:
- image: ghcr.io/siderolabs/iscsi-tools:v0.1.4
wipe: true
kubelet:
registerWithFQDN: true
extraArgs:
rotate-server-certificates: true
extraMounts:
- destination: /var/local
type: bind
source: /var/local
options:
- bind
- rshared
- rw
sysctls:
# https://www.talos.dev/v1.5/kubernetes-guides/configuration/storage/
vm.nr_hugepages: "1024"
# https://github.com/siderolabs/talos/issues/4654#issuecomment-1025125034
vm.max_map_count: "262144"
vm.overcommit_memory: "1"
vm.swappiness: "1"
cluster:
extraManifests:
- https://raw.githubusercontent.com/alex1989hu/kubelet-serving-cert-approver/main/deploy/standalone-install.yaml
- https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml