CHORE(resources): set memory limits equal to memory requests
- Align memory limits with memory requests for guaranteed QoS class - argocd: controller, server, repoServer, redis - traefik: main container - cert-manager: main, webhook, cainjector - argocd-image-updater: main container
This commit is contained in:
@@ -16,7 +16,7 @@ resources:
|
|||||||
cpu: 10m
|
cpu: 10m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 256Mi
|
memory: 64Mi
|
||||||
|
|
||||||
# Tolerations for control-plane node
|
# Tolerations for control-plane node
|
||||||
tolerations:
|
tolerations:
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ controller:
|
|||||||
cpu: 126m
|
cpu: 126m
|
||||||
memory: 1700Mi
|
memory: 1700Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 2500Mi
|
memory: 1700Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# API SERVER (Deployment)
|
# API SERVER (Deployment)
|
||||||
@@ -101,7 +101,7 @@ server:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 138Mi
|
memory: 138Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 207Mi
|
memory: 138Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# REPO SERVER (Deployment)
|
# REPO SERVER (Deployment)
|
||||||
@@ -119,7 +119,7 @@ repoServer:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 640Mi
|
memory: 640Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 960Mi
|
memory: 640Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# REDIS (Deployment)
|
# REDIS (Deployment)
|
||||||
@@ -130,7 +130,7 @@ redis:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 100Mi
|
memory: 100Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 150Mi
|
memory: 100Mi
|
||||||
|
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
# DEX (OIDC) - Disabled (using Authelia instead)
|
# DEX (OIDC) - Disabled (using Authelia instead)
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ resources:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 96Mi
|
memory: 64Mi
|
||||||
|
|
||||||
webhook:
|
webhook:
|
||||||
replicaCount: 2
|
replicaCount: 2
|
||||||
@@ -20,7 +20,7 @@ webhook:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 96Mi
|
memory: 64Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
@@ -39,7 +39,7 @@ cainjector:
|
|||||||
cpu: 15m
|
cpu: 15m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 96Mi
|
memory: 64Mi
|
||||||
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
# Affinity - Soft Anti-Affinity to spread pods across nodes
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 128Mi
|
memory: 128Mi
|
||||||
limits:
|
limits:
|
||||||
memory: 192Mi
|
memory: 128Mi
|
||||||
|
|
||||||
# Pod Anti-Affinity - 가능하면 각 노드에 분산 배치 (soft)
|
# Pod Anti-Affinity - 가능하면 각 노드에 분산 배치 (soft)
|
||||||
affinity:
|
affinity:
|
||||||
|
|||||||
Reference in New Issue
Block a user