mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
machine:
|
|
nodeLabels:
|
|
topology.kubernetes.io/region: ${cluster_name}
|
|
topology.kubernetes.io/zone: ${node_name}
|
|
network:
|
|
hostname: ${hostname}
|
|
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 }
|
|
sysctls:
|
|
fs.inotify.max_user_watches: 1048576 # Watchdog
|
|
fs.inotify.max_user_instances: 8192 # Watchdog
|
|
net.core.default_qdisc: fq # 10Gb/s
|
|
net.core.rmem_max: 67108864 # 10Gb/s | Cloudflared / QUIC
|
|
net.core.wmem_max: 67108864 # 10Gb/s | Cloudflared / QUIC
|
|
net.ipv4.tcp_congestion_control: bbr # 10Gb/s
|
|
net.ipv4.tcp_fastopen: 3 # Send and accept data in the opening SYN packet
|
|
net.ipv4.tcp_mtu_probing: 1 # 10Gb/s | Jumbo frames
|
|
net.ipv4.tcp_rmem: 4096 87380 33554432 # 10Gb/s
|
|
net.ipv4.tcp_wmem: 4096 65536 33554432 # 10Gb/s
|
|
net.ipv4.tcp_window_scaling: 1 # 10Gb/s
|
|
vm.nr_hugepages: 1024 # PostgreSQL
|