Add comprehensive resource limits for all subchart containers
- Add resourcesPreset: none to use explicit resources - Add volumePermissions init container resources for PostgreSQL - Add volumePermissions init container resources for MinIO - Add provisioning job resources for MinIO - All memory requests = limits per Kyverno policy
This commit is contained in:
@@ -129,6 +129,7 @@ postgresql:
|
|||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Resources with memory requests = limits per cluster policy
|
# Resources with memory requests = limits per cluster policy
|
||||||
|
resourcesPreset: "none"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
@@ -136,6 +137,16 @@ postgresql:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
# Volume permissions init container
|
||||||
|
volumePermissions:
|
||||||
|
resourcesPreset: "none"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 64Mi
|
||||||
|
|
||||||
# MinIO - ephemeral, no persistence
|
# MinIO - ephemeral, no persistence
|
||||||
minio:
|
minio:
|
||||||
@@ -152,6 +163,7 @@ minio:
|
|||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
# Resources with memory requests = limits per cluster policy
|
# Resources with memory requests = limits per cluster policy
|
||||||
|
resourcesPreset: "none" # Disable preset to use explicit resources
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
@@ -159,6 +171,26 @@ minio:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 100m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
|
# Init container resources
|
||||||
|
defaultInitContainers:
|
||||||
|
volumePermissions:
|
||||||
|
resourcesPreset: "none"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 64Mi
|
||||||
|
# Provisioning job resources
|
||||||
|
provisioning:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
# MinIO ingress - hostname overridden by CI
|
# MinIO ingress - hostname overridden by CI
|
||||||
minioIngress:
|
minioIngress:
|
||||||
|
|||||||
@@ -137,6 +137,7 @@ postgresql:
|
|||||||
enabled: false
|
enabled: false
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
# Resources with memory requests = limits per cluster policy
|
# Resources with memory requests = limits per cluster policy
|
||||||
|
resourcesPreset: "none"
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
@@ -144,6 +145,16 @@ postgresql:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
# Volume permissions init container
|
||||||
|
volumePermissions:
|
||||||
|
resourcesPreset: "none"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
|
||||||
# MinIO subchart configuration
|
# MinIO subchart configuration
|
||||||
minio:
|
minio:
|
||||||
@@ -161,6 +172,7 @@ minio:
|
|||||||
enabled: false
|
enabled: false
|
||||||
size: 50Gi
|
size: 50Gi
|
||||||
# Resources with memory requests = limits per cluster policy
|
# Resources with memory requests = limits per cluster policy
|
||||||
|
resourcesPreset: "none" # Disable preset to use explicit resources
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 500m
|
||||||
@@ -168,6 +180,26 @@ minio:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
|
# Init container resources
|
||||||
|
defaultInitContainers:
|
||||||
|
volumePermissions:
|
||||||
|
resourcesPreset: "none"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 128Mi
|
||||||
|
# Provisioning job resources
|
||||||
|
provisioning:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 256Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
|
||||||
# MinIO external ingress for presigned URL access (separate from subchart ingress)
|
# MinIO external ingress for presigned URL access (separate from subchart ingress)
|
||||||
minioIngress:
|
minioIngress:
|
||||||
|
|||||||
Reference in New Issue
Block a user