Compare commits

...

7 Commits

Author SHA1 Message Date
baschno
6abe5d1a8f optiona 2025-11-22 19:39:35 +01:00
baschno
67a6c414f2 updating ip range 2025-11-22 19:39:26 +01:00
baschno
08212c26a6 taint 2025-11-22 09:33:41 +01:00
baschno
e4adbfd0b2 add few links 2025-08-31 17:16:55 +02:00
baschno
d7db562a23 helm and flux 2025-08-22 18:10:24 +02:00
baschno
7896130d05 longhorn nodeselector doku 2025-08-21 21:07:31 +02:00
baschno
efcb4ee172 . 2025-08-20 21:50:18 +02:00
6 changed files with 47 additions and 9 deletions

View File

@@ -34,4 +34,9 @@ Rancher Installation
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest helm repo add rancher-latest https://releases.rancher.com/server-charts/latest
# Prevent scheduling on master (optional)
```
kubectl taint nodes master node-role.kubernetes.io/master=:NoSchedule
```

View File

@@ -46,6 +46,13 @@ data:
url: http://pi.hole url: http://pi.hole
version: 6 version: 6
key: 5ipI9bvB key: 5ipI9bvB
- Paperless NGX:
icon: paperless-ng.png
href: https://ppl.homeee.schnorbus.net
widgets:
- type: paperlessngx
url: https://ppl.homeee.schnorbus.net
token: 0cf8eb062d0ecfc0aa70611125427692cb577d68
- My Second Group: - My Second Group:
@@ -61,24 +68,33 @@ data:
icon: proxmox.png icon: proxmox.png
href: https://pve-83.fritz.box:8006 href: https://pve-83.fritz.box:8006
description: Homepage is the best description: Homepage is the best
widgets: # widgets:
- type: proxmox # - type: proxmox
url: https://pve-83.fritz.box:8006 # url: https://pve-83.fritz.box:8006
username: homepage_api@pam!homepage_api # username: homepage_api@pam!homepage_api
password: 7676925b-3ed4-4c8b-9df5-defb4a9a0871 # password: 0cf8eb062d0ecfc0aa70611125427692cb577d68
- Longhorn: - Longhorn:
icon: longhorn.png icon: longhorn.png
href: https://longhorn-dashboard.k8s.schnrbs.work href: https://longhorn-dashboard.k8s.schnrbs.work
description: Longhorn volume provisioning description: Longhorn volume provisioning
- Party Time: - Party Time:
- Immich:
icon: immich.png
href: https://immich.homeee.schnorbus.net
description: Immich is awesome
widgets:
- type: immich
url: https://immich.homeee.schnorbus.net
key: deOT6z7AHok30eKWgF2bOSJuOIZXK0eONo7PrR0As
version: 2
- Linkwarden: - Linkwarden:
icon: linkwarden.png icon: linkwarden.png
href: https://lw.homeee.schnorbus.net href: https://lw.homeee.schnorbus.net
description: Homepage isssss 😎 description: Homepage isssss 😎
widgets: widgets:
- type: linkwarden - type: linkwarden
url: https://lw.homeee.schnorbus.net url: http://docker-host-02.fritz.box:9595
key: eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..bEvs2PcR0ZTNpb8b.Lhe1-00LlVVC97arojvhh7IK4VADR82AMAzK5sd7AcUhs2WUQmu8Q-cOAKFGVlgPgdk-w1Pa8CJJHF71opWJk85aJXkTcdl7jANwN8PqgHXsSPoqtvzX.5GFRIAMo31sw5GStVlznHQ key: eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..bEvs2PcR0ZTNpb8b.Lhe1-00LlVVC97arojvhh7IK4VADR82AMAzK5sd7AcUhs2WUQmu8Q-cOAKFGVlgPgdk-w1Pa8CJJHF71opWJk85aJXkTcdl7jANwN8PqgHXsSPoqtvzX.5GFRIAMo31sw5GStVlznHQ
- Nginx Proxy Manager: - Nginx Proxy Manager:
icon: nginx-proxy-manager.png icon: nginx-proxy-manager.png

View File

@@ -2,3 +2,9 @@
helm install reloader stakater/reloader --namespace reloader --create-namespace helm install reloader stakater/reloader --namespace reloader --create-namespace
flux create source helm stakater --url https://stakater.github.io/stakater-charts --namespace reloader
flux create helmrelease my-reloader --chart stakater/reloader \
--source HelmRepository/stakater \
--chart-version 2.1.3 \
--namespace reloader

View File

@@ -6,4 +6,4 @@ metadata:
spec: spec:
addresses: addresses:
# - 192.168.178.220-192.168.178.225 #pve-82 # - 192.168.178.220-192.168.178.225 #pve-82
- 192.168.178.226-192.168.178.240 #pve-83 - 192.168.178.160-192.168.178.180 #pve-83

View File

@@ -2,5 +2,15 @@ https://www.reddit.com/r/GitOps/comments/1ih3b4a/discussion_setting_up_fluxcd_on
https://bash.ghost.io/k8s-home-lab-gitops-with-fluxcd/ https://bash.ghost.io/k8s-home-lab-gitops-with-fluxcd/
# Setup using internal Gitea server
## Create a Gitea personal access token and export it as an env var
```
export GITEA_TOKEN=<my-token>
```
## Bootstrap
```
flux bootstrap gitea --repository=k3s-homelab --branch=main --personal --owner baschno --hostname gitty.homeee.schnorbus.net --ssh-hostname=gitty.fritz.box:2221 --verbose --path=./clusters/homelab
```
https://bash.ghost.io/secure-kubernetes-secrets-disaster-recovery-with-sops-gitops-fluxcd/ https://bash.ghost.io/secure-kubernetes-secrets-disaster-recovery-with-sops-gitops-fluxcd/

View File

@@ -8,11 +8,12 @@ Zuerst solltest du sicherstellen, dass Longhorn auf deinem Cluster installiert i
#### Node Labeling #### Node Labeling
In the case not all nodes should provide disk In the case not all nodes should provide disk, e.g. certain nodes have special/fast disks.
In this case the StorageClass needs to be adapted and added with a nodeselector [1].
``` ```
k label nodes k3s-prod-worker-{1..3} node.longhorn.io/create-default-disk=true k label nodes k3s-prod-worker-{1..3} node.longhorn.io/create-default-disk=true
``` ```
[1] https://longhorn.io/kb/tip-only-use-storage-on-a-set-of-nodes/
#### Mit Helm: #### Mit Helm: