Add Helm chart for nexus-app with HPA and PDB
This commit is contained in:
parent
6e6c2127b9
commit
b1a291b1be
2 changed files with 37 additions and 0 deletions
5
helm/nexus-app/Chart.yaml
Normal file
5
helm/nexus-app/Chart.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: v2
|
||||||
|
name: nexus-app
|
||||||
|
description: Nexus platform backend API
|
||||||
|
version: 1.3.0
|
||||||
|
appVersion: "2.1.0"
|
||||||
32
helm/nexus-app/values.yaml
Normal file
32
helm/nexus-app/values.yaml
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in a new issue