feat: start with talos

This commit is contained in:
sujiba 2025-05-06 00:56:54 +02:00
commit ace89ded66
7 changed files with 175 additions and 0 deletions

55
talos/talconfig.yaml Normal file
View file

@ -0,0 +1,55 @@
clusterName: home-cluster
talosVersion: 1.10.0
kubernetesVersion: 1.33.0
endpoint: https://10.10.10.4:6443
domain: ${myDomainName}
additionalMachineCertSans:
- 10.10.10.3
additionalApiServerCertSans:
- 10.10.10.3
nodes:
# control plane nodes
- hostname: talos-01
controlPlane: true
ipAddress: 10.10.10.3
networkInterfaces:
- interface: eno1
addresses:
- 10.10.10.3/24
routes:
- network: 0.0.0.0/0
gateway: 10.10.10.1
dhcp: false
nameservers:
- 10.10.10.1
installDisk: /dev/nvme0n1
time:
servers:
- 10.10.10.1
userVolumes:
- name: local-storage
provisioning:
diskSelector:
match: disk.transport == "nvme"
maxSize: 500GiB
filesystem:
type: xfs
machineSpec:
mode: metal
arch: amd64
nodeAnnotations:
installerImage: '{{ .MachineConfig.MachineInstall.InstallImage }}'
patches:
- |-
cluster:
network:
cni:
name: none
proxy:
disabled: true
allowSchedulingOnControlPlanes: true