From b1a291b1beb93268bef1ab794ee4adf8849ba893 Mon Sep 17 00:00:00 2001
From: Philipp Keller
Date: Fri, 6 Feb 2026 16:40:00 +0000
Subject: [PATCH] Add Helm chart for nexus-app with HPA and PDB
---
helm/nexus-app/Chart.yaml | 5 +++++
helm/nexus-app/values.yaml | 32 ++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 helm/nexus-app/Chart.yaml
create mode 100644 helm/nexus-app/values.yaml
diff --git a/helm/nexus-app/Chart.yaml b/helm/nexus-app/Chart.yaml
new file mode 100644
index 0000000..0f859fe
--- /dev/null
+++ b/helm/nexus-app/Chart.yaml
@@ -0,0 +1,5 @@
+apiVersion: v2
+name: nexus-app
+description: Nexus platform backend API
+version: 1.3.0
+appVersion: "2.1.0"
diff --git a/helm/nexus-app/values.yaml b/helm/nexus-app/values.yaml
new file mode 100644
index 0000000..f0b22da
--- /dev/null
+++ b/helm/nexus-app/values.yaml
@@ -0,0 +1,32 @@
+replicaCount: 3
+
+image:
+ repository: registry.nexus.local/nexus-app
+ tag: "2.1.0"
+ pullPolicy: IfNotPresent
+
+service:
+ type: ClusterIP
+ port: 8080
+
+ingress:
+ enabled: true
+ className: nginx
+ host: api.nexus.local
+
+resources:
+ requests:
+ cpu: 250m
+ memory: 256Mi
+ limits:
+ cpu: 1000m
+ memory: 512Mi
+
+autoscaling:
+ enabled: true
+ minReplicas: 3
+ maxReplicas: 10
+ targetCPUUtilizationPercentage: 70
+
+podDisruptionBudget:
+ minAvailable: 2