From 65bcb0c7a49420058a8ec9d7b935010ce8a15ac2 Mon Sep 17 00:00:00 2001 From: platform-engineer-agent Date: Sun, 26 Jul 2026 07:02:15 +0200 Subject: [PATCH 1/4] fix(argocd): remove argocd app from apps/ to avoid circular dependency --- argocd/gen-apps.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/argocd/gen-apps.sh b/argocd/gen-apps.sh index 029f4f6..d9d2d31 100755 --- a/argocd/gen-apps.sh +++ b/argocd/gen-apps.sh @@ -21,7 +21,6 @@ mkdir -p "$APPS_DIR" # app-name | namespace | path | recurse | validate APPS=( - "argocd|argocd|argocd|false|true" "cert-manager|cert-manager|cert-manager|true|true" "fava|fava|fava|true|true" "gitea|gitea|gitea|true|true" From 63557ef1b47173dd4b3294089135bb7b5560620e Mon Sep 17 00:00:00 2001 From: platform-engineer-agent Date: Sun, 26 Jul 2026 07:04:51 +0200 Subject: [PATCH 2/4] fix(argocd): delete argocd/apps/argocd.yaml (moved to argocd/argocd.yaml) --- argocd/apps/argocd.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 argocd/apps/argocd.yaml diff --git a/argocd/apps/argocd.yaml b/argocd/apps/argocd.yaml deleted file mode 100644 index 4372df5..0000000 --- a/argocd/apps/argocd.yaml +++ /dev/null @@ -1,24 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: argocd - namespace: argocd - annotations: - argocd.argoproj.io/sync-wave: "0" -spec: - project: k3s-cluster - source: - repoURL: https://git.rogi.casa/roger/k3s-cluster.git - targetRevision: main - path: argocd - directory: - recurse: false - destination: - server: https://kubernetes.default.svc - namespace: argocd - syncPolicy: - automated: - prune: true - selfHeal: true - syncOptions: - - CreateNamespace=false From d5e4e3735868dfd186e55eca16973b480f9ce317 Mon Sep 17 00:00:00 2001 From: Platform Engineer Agent Date: Sun, 26 Jul 2026 10:44:19 +0000 Subject: [PATCH 3/4] fix(prometheus): bump memory limit from 2Gi to 4Gi to prevent OOMKilled --- monitoring/prometheus-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/prometheus-deployment.yaml b/monitoring/prometheus-deployment.yaml index 31596bc..6ca8c74 100644 --- a/monitoring/prometheus-deployment.yaml +++ b/monitoring/prometheus-deployment.yaml @@ -42,7 +42,7 @@ spec: memory: "1Gi" cpu: "500m" limits: - memory: "2Gi" + memory: "4Gi" cpu: "1000m" volumes: - name: prometheus-config From d1e86ce5ec75a2c679d8bc124886cad57f2cf738 Mon Sep 17 00:00:00 2001 From: platform-engineer-agent Date: Sun, 26 Jul 2026 13:26:46 +0200 Subject: [PATCH 4/4] fix(prometheus): add restart annotation to trigger rollout and clean up stale pods --- monitoring/prometheus-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monitoring/prometheus-deployment.yaml b/monitoring/prometheus-deployment.yaml index 6ca8c74..f15ae40 100644 --- a/monitoring/prometheus-deployment.yaml +++ b/monitoring/prometheus-deployment.yaml @@ -14,6 +14,8 @@ spec: metadata: labels: app: prometheus + annotations: + kubectl.kubernetes.io/restartedAt: "2026-07-26T12:00:00Z" spec: # Prevent scheduling on Raspberry Pi due to resource requirements (512Mi-1Gi memory, 500m-1000m CPU) nodeSelector: