mirror of
https://github.com/zoriya/snow.git
synced 2025-12-05 23:06:23 +00:00
Use talhelper to setup a talos
This commit is contained in:
2
clusterconfig/.gitignore
vendored
Normal file
2
clusterconfig/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
unipop-kadan.yaml
|
||||||
|
talosconfig
|
||||||
@@ -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
12
talconfig.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user