Reset homelab

This commit is contained in:
Daniel Cosme
2026-05-01 18:31:44 -04:00
parent 2333c09d73
commit 7038a3c06f
5 changed files with 6 additions and 6466 deletions

View File

@@ -0,0 +1,3 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources: []

File diff suppressed because it is too large Load Diff

View File

@@ -1,27 +0,0 @@
# This manifest was generated by flux. DO NOT EDIT.
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 1m0s
ref:
branch: main
secretRef:
name: flux-system
url: https://danicos.dev/daniel/homelab.git
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: flux-system
namespace: flux-system
spec:
interval: 10m0s
path: ./clusters/hydra
prune: true
sourceRef:
kind: GitRepository
name: flux-system

View File

@@ -1,5 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- gotk-components.yaml - coredns-config.yaml
- gotk-sync.yaml - truenas-csi/

View File

@@ -10,3 +10,4 @@ NODE_TOKEN=$(ssh $LINUX_ADMIN@$CLUSTER_HOST "sudo cat /var/lib/rancher/k3s/serve
echo $NODE_TOKEN echo $NODE_TOKEN
# curl -sfL https://get.k3s.io | K3S_URL=https://hydra-0:6443 K3S_TOKEN=<node_token> sh -s - # curl -sfL https://get.k3s.io | K3S_URL=https://hydra-0:6443 K3S_TOKEN=<node_token> sh -s -
curl -sfL https://get.k3s.io | K3S_URL=https://hydra-0:6443 K3S_TOKEN=K106b6d0a91ca6467cef926389ece48b9a39b8ed571c82fe86a8a3cd55882e9c827::server:3f608bf732e3853cad1bfbb7121df16c sh -s -