Compare commits
9 Commits
8cb83ffd9c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6abe5d1a8f | ||
|
|
67a6c414f2 | ||
|
|
08212c26a6 | ||
|
|
e4adbfd0b2 | ||
|
|
d7db562a23 | ||
|
|
7896130d05 | ||
|
|
efcb4ee172 | ||
|
|
f58fad216a | ||
|
|
90e0de0804 |
@@ -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
|
||||||
|
|||||||
10
12_reloader/README.md
Normal file
10
12_reloader/README.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
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:
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
NAME: kube-prometheus-stack
|
||||||
|
LAST DEPLOYED: Wed Jun 11 19:32:51 2025
|
||||||
|
NAMESPACE: monitoring
|
||||||
|
STATUS: deployed
|
||||||
|
REVISION: 1
|
||||||
|
NOTES:
|
||||||
|
kube-prometheus-stack has been installed. Check its status by running:
|
||||||
|
kubectl --namespace monitoring get pods -l "release=kube-prometheus-stack"
|
||||||
|
|
||||||
|
Get Grafana 'admin' user password by running:
|
||||||
|
|
||||||
|
kubectl --namespace monitoring get secrets kube-prometheus-stack-grafana -o jsonpath="{.data.admin-password}" | base64 -d ; echo
|
||||||
|
|
||||||
|
Access Grafana local instance:
|
||||||
|
|
||||||
|
export POD_NAME=$(kubectl --namespace monitoring get pod -l "app.kubernetes.io/name=grafana,app.kubernetes.io/instance=kube-prometheus-stack" -oname)
|
||||||
|
kubectl --namespace monitoring port-forward $POD_NAME 3000
|
||||||
|
|
||||||
|
Visit https://github.com/prometheus-operator/kube-prometheus for instructions on how to create & configure Alertmanager and Prometheus instances using the Operator.
|
||||||
Reference in New Issue
Block a user