The great restructuring.

This commit is contained in:
Joseph Hanson 2023-11-20 16:23:36 -06:00
parent 3f4fc60877
commit afd3a209ab
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,54 +1,22 @@
--- ---
clusterName: ${clusterName} clusterName: valinor
talosVersion: v1.5.1 talosVersion: v1.5.5
kubernetesVersion: 1.28.1 kubernetesVersion: 1.28.3
endpoint: "https://${clusterName}.hsn.dev:6443" endpoint: "https://10.2.0.3:6443"
cniConfig: cniConfig:
name: none name: none
additionalApiServerCertSans: additionalApiServerCertSans:
- ${clusterEndpointIP} - 10.2.0.3
additionalMachineCertSans: additionalMachineCertSans:
- ${clusterEndpointIP} - 10.2.0.3
- ${clusterName}.hsn.dev
nodes: nodes:
# cloud CAX21 Arm64
- hostname: aule.hsn.dev - hostname: aule.hsn.dev
disableSearchDomain: true
ipAddress: 10.2.0.3
controlPlane: true
installDiskSelector:
busPath: /dev/sda
networkInterfaces:
- interface: eth0
dhcp: true
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
metric: 2048
- hostname: eonwe.hsn.dev
disableSearchDomain: true
ipAddress: 10.2.0.5
controlPlane: true
installDiskSelector:
busPath: /dev/sda
networkInterfaces:
- interface: eth0
dhcp: true
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
metric: 2048
- hostname: arlen.hsn.dev
disableSearchDomain: true disableSearchDomain: true
ipAddress: 10.2.0.4 ipAddress: 10.2.0.4
controlPlane: true controlPlane: true
@ -61,12 +29,13 @@ nodes:
dhcp: true dhcp: true
routes: routes:
- network: 10.2.0.0/16 - network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route). gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
metric: 2048 metric: 2048
- hostname: vaire.hsn.dev # cloud CAX21 Arm64
- hostname: arlen.hsn.dev
disableSearchDomain: true disableSearchDomain: true
ipAddress: 10.2.0.8 ipAddress: 10.2.0.5
controlPlane: false controlPlane: true
installDiskSelector: installDiskSelector:
busPath: /dev/sda busPath: /dev/sda
networkInterfaces: networkInterfaces:
@ -76,39 +45,115 @@ nodes:
dhcp: true dhcp: true
routes: routes:
- network: 10.2.0.0/16 - network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route). gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
metric: 2048 metric: 2048
# cloud CAX21 Arm64
- hostname: eonwe.hsn.dev
disableSearchDomain: true
ipAddress: 10.2.0.6
controlPlane: true
installDiskSelector:
busPath: /dev/sda
networkInterfaces:
- interface: eth0
dhcp: true
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
metric: 2048
# Bare-metal AX41-Nvme - AMD Ryzen 5 3600 6-Core Processor (Zen2) - 64GB ECC RAM
- hostname: nienna.hsn.dev - hostname: nienna.hsn.dev
disableSearchDomain: true disableSearchDomain: true
ipAddress: 10.2.0.9 ipAddress: 10.2.1.2
controlPlane: false controlPlane: false
# customization:
# systemExtensions:
# officialExtensions:
# - siderolabs/amd-ucode
talosImageURL: factory.talos.dev/installer/96f8c146a67c80daad900d3fc1a6976fe11062321eee9ab6ae2a6aea88b2d26e
installDiskSelector: installDiskSelector:
busPath: /dev/sda busPath: /pci0000:00/0000:00:03.1/0000:27:00.0/nvme/nvme0/nvme0n1
networkInterfaces: networkInterfaces:
- interface: eth0 - interface: enp35s0
dhcp: true
- interface: eth1
dhcp: true dhcp: true
vlans:
- vlanId: 4010
mtu: 1400
addresses:
- 10.2.1.2/24
dhcp: false
routes: routes:
- network: 10.2.0.0/16 - network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route). gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
metric: 2048 metric: 2048
# VM on Bare-metal EX44 Proxmox pve - 13th Gen Intel(R) Core(TM) i5-13500 - 64GB RAM
- hostname: orome.hsn.dev - hostname: orome.hsn.dev
disableSearchDomain: true disableSearchDomain: true
ipAddress: 10.2.0.10 ipAddress: 10.2.1.3
controlPlane: false controlPlane: false
# customization:
# extraKernelArgs:
# - net.ifnames=0
# systemExtensions:
# officialExtensions:
# - siderolabs/intel-ucode
# - siderolabs/i915-ucode
# - siderolabs/qemu-guest-agent
installDiskSelector: installDiskSelector:
busPath: /dev/sda busPath: /pci0000:00/0000:00:0a.0/virtio1/
talosImageURL: factory.talos.dev/installer/f2f665587318c2d79e7b315cc333fff276ed59c8de831f16e28b4db107496ac2
networkInterfaces: networkInterfaces:
- interface: eth0 - interface: eth0
dhcp: true dhcp: false
- interface: eth1 addresses:
dhcp: true - 10.2.1.3/24
routes: routes:
- network: 10.2.0.0/16 - network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route). gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
metric: 2048 metric: 2048
- interface: eth1
dhcp: true
routes:
- network: 0.0.0.0/0 # The route's network (destination).
gateway: 192.168.20.1 # The route's gateway (if empty, creates link scope route).
metric: 1024
# - hostname: vaire.hsn.dev
# disableSearchDomain: true
# ipAddress: 10.2.0.8
# controlPlane: false
# installDiskSelector:
# busPath: /dev/sda
# networkInterfaces:
# - interface: eth0
# dhcp: true
# - interface: eth1
# dhcp: true
# routes:
# - network: 10.2.0.0/16
# gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
# metric: 2048
worker:
patches:
- |-
machine:
sysctls:
fs.inotify.max_user_watches: "1048576"
fs.inotify.max_user_instances: "8192"
time:
disabled: false
servers:
- ntp.hetzner.com
kubelet:
extraArgs:
feature-gates: CronJobTimeZone=true,GracefulNodeShutdown=true,NewVolumeManagerReconstruction=false
rotate-server-certificates: "true"
extraConfig:
maxPods: 150
nodeIP:
validSubnets:
- 10.2.0.0/16
controlPlane: controlPlane:
patches: patches:
- |- - |-
@ -150,12 +195,10 @@ controlPlane:
maxPods: 150 maxPods: 150
nodeIP: nodeIP:
validSubnets: validSubnets:
- 10.2.0.0/24 - 10.2.0.0/16
network: network:
extraHostEntries: extraHostEntries:
- ip: ${clusterEndpointIP} - ip: 10.2.0.3
aliases:
- ${clusterName}.hsn.dev
sysctls: sysctls:
fs.inotify.max_user_watches: "1048576" fs.inotify.max_user_watches: "1048576"
fs.inotify.max_user_instances: "8192" fs.inotify.max_user_instances: "8192"