This commit is contained in:
baschno
2025-08-11 20:31:16 +02:00
parent cca6f599d5
commit 8cb83ffd9c
4 changed files with 29 additions and 22 deletions

View File

@@ -66,12 +66,16 @@ data:
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: 7676925b-3ed4-4c8b-9df5-defb4a9a0871
- Longhorn:
icon: longhorn.png
href: https://longhorn-dashboard.k8s.schnrbs.work
description: Longhorn volume provisioning
- Party Time: - Party Time:
- Linkwarden: - Linkwarden:
icon: linkwarden.png icon: linkwarden.png
href: https://lw.homeee.schnorbus.net href: https://lw.homeee.schnorbus.net
description: Homepage is 😎 description: Homepage isssss 😎
widgets: widgets:
- type: linkwarden - type: linkwarden
url: https://lw.homeee.schnorbus.net url: https://lw.homeee.schnorbus.net

6
gitops/README.md Normal file
View File

@@ -0,0 +1,6 @@
https://www.reddit.com/r/GitOps/comments/1ih3b4a/discussion_setting_up_fluxcd_on_k3s_for_home_labs/
https://bash.ghost.io/k8s-home-lab-gitops-with-fluxcd/
https://bash.ghost.io/secure-kubernetes-secrets-disaster-recovery-with-sops-gitops-fluxcd/

View File

@@ -1,22 +1,3 @@
apiVersion: v1
kind: Service
metadata:
name: nginx
namespace: test
labels:
app: nginx
spec:
ports:
- port: 80
name: web
clusterIP: None
selector:
app: nginx
template:
spec:
nodeSelector:
node.longhorn.io/create-default-disk: "true" # this is required to create a disk on the node
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
@@ -24,8 +5,6 @@ metadata:
name: web name: web
namespace: test namespace: test
spec: spec:
nodeSelector:
node.longhorn.io/create-default-disk: "true" # this is required to create a disk on the node
selector: selector:
matchLabels: matchLabels:
app: nginx # has to match .spec.template.metadata.labels app: nginx # has to match .spec.template.metadata.labels

18
statefulset/svc.yaml Normal file
View File

@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: nginx
namespace: test
labels:
app: nginx
spec:
ports:
- port: 80
name: web
clusterIP: None
selector:
app: nginx
template:
spec:
nodeSelector:
node.longhorn.io/create-default-disk: "true" # this is required to create a disk on the node