Use talhelper to setup a talos

This commit is contained in:
2025-06-28 15:19:28 +02:00
parent 0596013770
commit 18d98f7248
3 changed files with 18 additions and 0 deletions

2
clusterconfig/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
unipop-kadan.yaml
talosconfig

View File

@@ -1,6 +1,10 @@
{pkgs ? import <nixpkgs> {}}: {pkgs ? import <nixpkgs> {}}:
pkgs.mkShell { pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
kubectl
talosctl talosctl
talhelper
]; ];
TALOSCONFIG = "./clusterconfig/talosconfig";
} }

12
talconfig.yaml Normal file
View File

@@ -0,0 +1,12 @@
clusterName: unipop
talosVersion: v1.10.4
kubernetesVersion: 1.33.2
endpoint: https://kube.sdg.moe:6443
allowSchedulingOnMasters: true
nodes:
- hostname: kadan
ipAddress: kube.sdg.moe
controlPlane: true
installDisk: /dev/nvme0n1
certSANs:
- kube.sdg.moe