mirror of
https://github.com/outbackdingo/c0depool-iac.git
synced 2026-01-27 02:18:23 +00:00
add talconfig
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -36,3 +36,5 @@ talosconfig*
|
||||
config.xml
|
||||
*.pid
|
||||
kubernetes
|
||||
# VS Code
|
||||
.vscode
|
||||
141
talos/talconfig.yaml
Normal file
141
talos/talconfig.yaml
Normal file
@@ -0,0 +1,141 @@
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/budimanjojo/talhelper/master/pkg/config/schemas/talconfig.json
|
||||
---
|
||||
# renovate: datasource=docker depName=ghcr.io/siderolabs/installer
|
||||
talosVersion: v1.7.1
|
||||
# renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet
|
||||
kubernetesVersion: v1.30.0
|
||||
|
||||
clusterName: c0depool-talos-cluster
|
||||
endpoint: https://192.168.0.199:6443
|
||||
clusterPodNets:
|
||||
- 10.14.0.0/16
|
||||
clusterSvcNets:
|
||||
- 10.15.0.0/16
|
||||
additionalApiServerCertSans:
|
||||
- 192.168.0.199
|
||||
- 127.0.0.1
|
||||
additionalMachineCertSans:
|
||||
- 192.168.0.199
|
||||
- 127.0.0.1
|
||||
nodes:
|
||||
- hostname: talos-master-00
|
||||
controlPlane: true
|
||||
ipAddress: 192.168.0.170
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
vip:
|
||||
ip: 192.168.0.199
|
||||
- hostname: talos-master-01
|
||||
controlPlane: true
|
||||
ipAddress: 192.168.0.171
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
vip:
|
||||
ip: 192.168.0.199
|
||||
- hostname: talos-master-02
|
||||
controlPlane: true
|
||||
ipAddress: 192.168.0.172
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
vip:
|
||||
ip: 192.168.0.199
|
||||
- hostname: talos-worker-00
|
||||
controlPlane: false
|
||||
ipAddress: 192.168.0.180
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
patches:
|
||||
- |-
|
||||
machine:
|
||||
udev:
|
||||
rules:
|
||||
- SUBSYSTEM=="drm", KERNEL=="renderD*", GROUP="44", MODE="0660"
|
||||
- SUBSYSTEM=="drm", KERNEL=="card*", GROUP="44", MODE="0660"
|
||||
|
||||
- hostname: talos-worker-01
|
||||
controlPlane: false
|
||||
ipAddress: 192.168.0.181
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
- hostname: talos-worker-02
|
||||
controlPlane: false
|
||||
ipAddress: 192.168.0.182
|
||||
installDisk: /dev/sda
|
||||
talosImageURL: factory.talos.dev/installer/613e1592b2da41ae5e265e8789429f22e121aab91cb4deb6bc3c0b6262961245
|
||||
networkInterfaces:
|
||||
- deviceSelector:
|
||||
hardwareAddr: "00:00:00:00:00:00"
|
||||
dhcp: false
|
||||
|
||||
patches:
|
||||
|
||||
# Force nameserver
|
||||
- |-
|
||||
machine:
|
||||
network:
|
||||
nameservers:
|
||||
- 1.1.1.1
|
||||
- 1.0.0.1
|
||||
|
||||
# Configure NTP
|
||||
- |-
|
||||
machine:
|
||||
time:
|
||||
disabled: false
|
||||
servers: ["time.cloudflare.com"]
|
||||
|
||||
controlPlane:
|
||||
patches:
|
||||
# Cluster configuration
|
||||
- |-
|
||||
cluster:
|
||||
# allowSchedulingOnControlPlanes: true
|
||||
controllerManager:
|
||||
extraArgs:
|
||||
bind-address: 0.0.0.0
|
||||
proxy:
|
||||
disabled: true
|
||||
network:
|
||||
cni:
|
||||
name: none
|
||||
scheduler:
|
||||
extraArgs:
|
||||
bind-address: 0.0.0.0
|
||||
worker:
|
||||
patches:
|
||||
# Machine configuration
|
||||
- |-
|
||||
machine:
|
||||
kubelet:
|
||||
extraMounts:
|
||||
- destination: /var/mnt/longhorn
|
||||
type: bind
|
||||
source: /var/mnt/longhorn
|
||||
options:
|
||||
- bind
|
||||
- rshared
|
||||
- rw
|
||||
disks:
|
||||
- device: /dev/sdb
|
||||
partitions:
|
||||
- mountpoint: /var/mnt/longhorn
|
||||
Reference in New Issue
Block a user