infrastructure/pve01.wheatley.in/k8s-wheatley/modules/talos-bootstrap/templates/machineconfig-cp.yaml.tmpl

44 lines
1,003 B
Cheetah
Raw Normal View History

2025-10-28 22:46:17 +01:00
debug: false
machine:
type: ${machine_type}
install:
disk: /dev/vda
image: factory.talos.dev/nocloud-installer-secureboot/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v${talos_version}
network:
hostname: ${hostname}
nameservers:
- 10.13.37.2
%{ if machine_type == "controlplane" }
interfaces:
- interface: eth0
dhcp: false
vip:
ip: ${vip_address}
%{ endif }
kubelet:
extraArgs:
pod-max-pids: 1000
extraConfig:
imageGCHighThresholdPercent: 75
imageGCLowThresholdPercent: 70
nodeLabels:
topology.kubernetes.io/region: ${cluster_name}
topology.kubernetes.io/zone: ${node_name}
cluster:
apiServer:
auditPolicy:
apiVersion: audit.k8s.io/v1
kind: Policy
rules:
- level: Metadata
network:
cni:
name: none
proxy:
disabled: true
inlineManifests:
- name: cilium-bootstrap
contents: |
${indent(6, cilium_install_file)}