Compare commits
7 Commits
f58fad216a
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6abe5d1a8f | ||
|
|
67a6c414f2 | ||
|
|
08212c26a6 | ||
|
|
e4adbfd0b2 | ||
|
|
d7db562a23 | ||
|
|
7896130d05 | ||
|
|
efcb4ee172 |
@@ -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
|
||||||
|
```
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user