This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/talos/talconfig.yaml

190 lines
5.1 KiB
YAML
Raw Normal View History

2023-09-25 19:21:40 -05:00
---
2023-11-20 16:23:36 -06:00
clusterName: valinor
2023-09-25 19:21:40 -05:00
2023-11-20 16:23:36 -06:00
talosVersion: v1.5.5
kubernetesVersion: 1.28.4
2023-11-20 16:23:36 -06:00
endpoint: "https://10.2.0.3:6443"
2023-09-25 19:21:40 -05:00
cniConfig:
name: none
additionalApiServerCertSans:
2023-11-20 16:23:36 -06:00
- 10.2.0.3
2023-09-25 19:21:40 -05:00
additionalMachineCertSans:
2023-11-20 16:23:36 -06:00
- 10.2.0.3
2023-09-25 19:21:40 -05:00
nodes:
2023-11-20 16:23:36 -06:00
# cloud CAX21 Arm64
- hostname: aule
2023-09-25 19:21:40 -05:00
disableSearchDomain: true
2023-11-20 16:23:36 -06:00
ipAddress: 10.2.0.4
2023-09-25 19:21:40 -05:00
controlPlane: true
installDiskSelector:
2023-09-26 10:15:35 -05:00
busPath: /dev/sda
2023-09-25 19:21:40 -05:00
networkInterfaces:
- interface: eth0
dhcp: true
2023-09-26 17:18:36 -05:00
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
2023-11-20 16:23:36 -06:00
gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
2023-09-26 17:18:36 -05:00
metric: 2048
2023-11-20 16:23:36 -06:00
# cloud CAX21 Arm64
- hostname: arlen
2023-09-25 19:21:40 -05:00
disableSearchDomain: true
2023-09-26 09:31:31 -05:00
ipAddress: 10.2.0.5
2023-09-25 19:21:40 -05:00
controlPlane: true
installDiskSelector:
2023-09-26 10:15:35 -05:00
busPath: /dev/sda
2023-09-25 19:21:40 -05:00
networkInterfaces:
- interface: eth0
dhcp: true
2023-09-26 17:18:36 -05:00
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
2023-11-20 16:23:36 -06:00
gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
2023-09-26 17:18:36 -05:00
metric: 2048
2023-11-20 16:23:36 -06:00
# cloud CAX21 Arm64
- hostname: eonwe
2023-09-25 19:21:40 -05:00
disableSearchDomain: true
2023-11-20 16:23:36 -06:00
ipAddress: 10.2.0.6
2023-09-25 19:21:40 -05:00
controlPlane: true
installDiskSelector:
2023-09-26 10:15:35 -05:00
busPath: /dev/sda
2023-09-25 19:21:40 -05:00
networkInterfaces:
- interface: eth0
dhcp: true
2023-09-26 17:18:36 -05:00
- interface: eth1
dhcp: true
routes:
- network: 10.2.0.0/16
2023-11-20 16:23:36 -06:00
gateway: 10.2.0.1 # The route's gateway (if empty, creates link scope route).
2023-09-26 17:18:36 -05:00
metric: 2048
2023-11-20 16:23:36 -06:00
# Bare-metal AX41-Nvme - AMD Ryzen 5 3600 6-Core Processor (Zen2) - 64GB ECC RAM
- hostname: nienna
2023-10-02 12:27:07 -05:00
disableSearchDomain: true
2023-11-20 16:23:36 -06:00
ipAddress: 10.2.1.2
2023-10-02 12:27:07 -05:00
controlPlane: false
2023-11-20 16:23:36 -06:00
# customization:
# extraKernelArgs:
# - net.ifnames=0
2023-11-20 16:23:36 -06:00
# systemExtensions:
# officialExtensions:
# - siderolabs/amd-ucode
talosImageURL: factory.talos.dev/installer/96f8c146a67c80daad900d3fc1a6976fe11062321eee9ab6ae2a6aea88b2d26e
2023-10-02 12:27:07 -05:00
installDiskSelector:
2023-11-20 16:23:36 -06:00
busPath: /pci0000:00/0000:00:03.1/0000:27:00.0/nvme/nvme0/nvme0n1
machineDisks:
- device: /dev/disk/by-id/nvme-SAMSUNG_MZVLB512HBJQ-00000_S4GENX0N424497
partitions:
- mountpoint: /var/mnt/lpnvme
2023-10-02 12:27:07 -05:00
networkInterfaces:
- interface: eth0
2023-10-02 12:27:07 -05:00
dhcp: true
2023-11-20 16:23:36 -06:00
vlans:
- vlanId: 4010
mtu: 1400
addresses:
- 10.2.1.2/24
dhcp: false
routes:
- network: 10.2.0.0/16
gateway: 10.2.1.1 # The route's gateway (if empty, creates link scope route).
metric: 2048
patches:
- |-
machine:
kubelet:
extraMounts:
- destination: /var/mnt/lpnvme
type: bind
source: /var/mnt/lpnvme
options:
- rbind
- rshared
- rw
2023-11-20 16:23:36 -06:00
worker:
patches:
- |-
cluster:
externalCloudProvider:
enabled: true
manifests:
- https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/latest/download/ccm.yaml
2023-11-20 16:23:36 -06:00
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
2023-09-25 19:21:40 -05:00
controlPlane:
patches:
- |-
cluster:
allowSchedulingOnMasters: true
externalCloudProvider:
enabled: true
manifests:
- https://github.com/hetznercloud/hcloud-cloud-controller-manager/releases/latest/download/ccm.yaml
2023-09-26 16:33:24 -05:00
network:
cni:
name: none
2023-09-25 19:21:40 -05:00
proxy:
disabled: true
etcd:
advertisedSubnets:
- 10.2.0.0/24
- |-
- op: remove
path: /cluster/apiServer/admissionControl
- |-
machine:
2023-09-26 16:33:24 -05:00
features:
kubePrism:
enabled: true
port: 7445
2023-09-25 19:21:40 -05:00
files:
- op: create
path: /etc/cri/conf.d/20-customization.part
content: |
[plugins]
[plugins."io.containerd.grpc.v1.cri"]
enable_unprivileged_ports = true
enable_unprivileged_icmp = true
kubelet:
extraArgs:
feature-gates: CronJobTimeZone=true,GracefulNodeShutdown=true,NewVolumeManagerReconstruction=false
rotate-server-certificates: "true"
extraConfig:
maxPods: 150
nodeIP:
validSubnets:
2023-11-20 16:23:36 -06:00
- 10.2.0.0/16
2023-09-25 19:21:40 -05:00
network:
extraHostEntries:
2023-11-20 16:23:36 -06:00
- ip: 10.2.0.3
2023-09-25 19:21:40 -05:00
sysctls:
fs.inotify.max_user_watches: "1048576"
fs.inotify.max_user_instances: "8192"
time:
disabled: false
servers:
- ntp.hetzner.com