Initial commit

This commit is contained in:
2025-05-30 00:45:17 +02:00
commit 45c0cbaff5
31 changed files with 5847 additions and 0 deletions

7
infra/clusterconfig/.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
yakumo-yukari.yaml
yakumo-byakuren.yaml
yakumo-tojiko.yaml
yakumo-chen.yaml
yakumo-ran.yaml
yakumo-fujiwara-no-moukou.yaml
talosconfig

View File

@@ -0,0 +1,21 @@
apiVersion: ENC[AES256_GCM,data:oJNPhgWHrlk=,iv:N63w0eTGkE5CqOYzYU67PzgZwLqudVNGHKlh8IQ0owo=,tag:c7LGt8OaUvk2Nkw2TJ1x0A==,type:str]
kind: ENC[AES256_GCM,data:jdK9MYmBwfyj2URPK2AQMgrYezeXPw==,iv:2znWPT5kP9szEOCxq0GYg+BFCxqVwq9WX8ZeH0BqMFs=,tag:PgkMbyrIZ30jSDgNVj7joA==,type:str]
name: ENC[AES256_GCM,data:6gIyFBDRjkSn,iv:ilUtpwYtBp0UPZ92xifRqi1F+1YCvwF+W1VZDaUSCIA=,tag:n6xkJBOlIvmQP2M3TOVOmQ==,type:str]
environment:
- ENC[AES256_GCM,data:LxwtKRLHfdbmp/J3ajW/24Msrv1x3R8ytTzruFEuhp7gZYgiRvgZHpNssamh9slb+ALNWMosoow+xH8T/Bq5kJak4L9takd0,iv:cxYmo/y7wEJ/lm/8rM72ZoTAaRrr2uHcbgAdDUANiy0=,tag:ntzuhv9tiIb4Ta4JDGQ1AA==,type:str]
- ENC[AES256_GCM,data:cOAOFYpr2Nlwjesd2L1ZMZa4FAOWKeuVa+V5xnZVeh6reblh,iv:foawyP5/c7fFTMA+t+wCEdbYAKBgxXvy/6ETN9KE9yo=,tag:GC2I1PNc4CiMj8SFTDurjw==,type:str]
sops:
age:
- recipient: age1r0tjhg6uexyj0p7fp0ftv5h7r7e3ptzkk2797pznfvrvsm576u0s37yyaw
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTFJnQUZuOXJua0Z6YmZt
YklGVE9TY1lPM3Z3OERGeGlFZzcxaUhQWlV3CnVoenl0cXBaQnJMT1lPYTBsRUJ5
dHVaWWViWmx6ZWNubDVhSERKalFFYXMKLS0tIEUyaDZ6R0VJTnRHMHRSYU5DSWpp
cW91L05QcFFkK1NwdG9GSEVVYlVNUXcKvgOu6LmN87ZDK4QbayvTY85v+II1eKDt
hWYQyZphg9QuedD7V7bHcd3lzTSSXITIt1/D3lAWXOe+mbYsOS1Q1A==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2025-05-29T22:49:39Z"
mac: ENC[AES256_GCM,data:efiVYu5nOzqewrkzlt46i2RE5rYHoSI3x4mux83nWlMcbw1k5dFcMnHOkjnNeMC5z2Jy1RJLw4nXi1l6LvC7kCsjHdUId58gXbqgJmADQmF9KFJDQ3tulQZhKNvU4J+Cm+EZIRtCCISnIpoc/CqprcUELHbp/86cFhqIZRjuTGg=,iv:X7sNIjTuiYx5qDX6rdUjEX6PT0d8tvILPLAn3H+5d5k=,tag:WhsiN8u8Itv6LKTDqTZKsw==,type:str]
unencrypted_suffix: _unencrypted
version: 3.10.2

100
infra/talconfig.yaml Normal file
View File

@@ -0,0 +1,100 @@
---
clusterName: yakumo
talosVersion: v1.10.3
kubernetesVersion: v1.33.1
endpoint: https://10.0.0.240:6443
domain: yakumo.prettysunflower.moe
allowSchedulingOnControlPlanes: false
clusterPodNets:
- 10.244.0.0/16
clusterSvcNets:
- 10.96.0.0/12
patches:
- |-
- op: add
path: /machine/network/kubespan
value:
enabled: true
- op: add
path: /machine/features/hostDNS
value:
forwardKubeDNSToHost: false
nodes:
- hostname: yukari
ipAddress: 10.0.0.240
controlPlane: true
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: yul
- hostname: byakuren
ipAddress: 10.0.15.33
controlPlane: true
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: fsn
- hostname: tojiko
ipAddress: 10.0.15.35
controlPlane: true
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: fsn
- hostname: chen
ipAddress: 10.0.15.32
controlPlane: false
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: fsn
- hostname: ran
ipAddress: 10.0.0.241
controlPlane: false
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: yul
- hostname: fujiwara-no-moukou
ipAddress: 10.0.0.245
controlPlane: false
arch: amd64
installDisk: /dev/sda
nodeLabels:
location: yul
controlPlane:
extraManifests:
- tailscale.patch.yaml
schematic:
customization:
systemExtensions:
officialExtensions:
- siderolabs/iscsi-tools
- siderolabs/qemu-guest-agent
- siderolabs/tailscale
- siderolabs/util-linux-tools
worker:
extraManifests:
- tailscale.patch.yaml
schematic:
customization:
systemExtensions:
officialExtensions:
- siderolabs/iscsi-tools
- siderolabs/qemu-guest-agent
- siderolabs/tailscale
- siderolabs/util-linux-tools
patches:
- |-
- op: add
path: /machine/kubelet/extraMounts
value:
- destination: /var/lib/longhorn
type: bind
source: /var/lib/longhorn
options:
- bind
- rshared
- rw

38
infra/talsecret.sops.yaml Normal file

File diff suppressed because one or more lines are too long