feature: removed further dependecies

This commit is contained in:
2026-01-19 00:32:56 +01:00
parent d6d1614660
commit 63dad0fcd7
3 changed files with 45 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
# ArgoCD HA Patch
# Patches das argocd-server Deployment für High Availability
# WICHTIG: Strategic Merge Patch - muss vollständige Struktur enthalten
apiVersion: apps/v1
kind: Deployment
@@ -8,7 +9,13 @@ metadata:
namespace: argocd
spec:
replicas: 2 # HA: Mindestens 2 Replicas für Ausfallsicherheit
selector:
matchLabels:
app.kubernetes.io/name: argocd-server
template:
metadata:
labels:
app.kubernetes.io/name: argocd-server
spec:
affinity:
podAntiAffinity:

View File

@@ -0,0 +1,31 @@
# Pod Disruption Budgets für Outline Dependencies
# WICHTIG: PostgreSQL und Redis haben nur 1 Replica
# PDBs sind trotzdem sinnvoll für Wartungsarbeiten
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: outline-postgres
namespace: outline
labels:
app: outline-postgres
spec:
minAvailable: 1 # Mindestens 1 Pod muss immer verfügbar sein
selector:
matchLabels:
app: outline-postgres
---
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: outline-redis
namespace: outline
labels:
app: outline-redis
spec:
minAvailable: 1 # Mindestens 1 Pod muss immer verfügbar sein
selector:
matchLabels:
app: outline-redis

View File

@@ -1,12 +1,14 @@
---
# REDIS
# HINWEIS: Redis HA (Sentinel) wäre besser, aber 1 Replica ist OK für Cache
# Wenn Redis ausfällt, funktioniert Outline noch (nur Features eingeschränkt)
apiVersion: apps/v1
kind: Deployment
metadata:
name: outline-redis
namespace: outline
spec:
replicas: 1
replicas: 1 # HA: Optional auf Redis Sentinel upgraden
selector:
matchLabels:
app: outline-redis
@@ -41,6 +43,9 @@ spec:
app: outline-redis
---
# POSTGRES
# HINWEIS: PostgreSQL HA benötigt Replication (Primary/Standby), nicht einfach mehr Replicas!
# ReadWriteOnce PVC kann nur auf einem Pod gemountet werden
# Für HA: Patroni + etcd oder Managed PostgreSQL verwenden
apiVersion: apps/v1
kind: StatefulSet
metadata:
@@ -48,7 +53,7 @@ metadata:
namespace: outline
spec:
serviceName: outline-postgres
replicas: 1
replicas: 1 # HA: PostgreSQL Replication erforderlich (Patroni + etcd)
selector:
matchLabels:
app: outline-postgres