fix(k01): resource requests based on actual usage
build-and-push-harbor / docker-build-push (push) Has been cancelled
build-and-push-harbor / docker-build-push (push) Has been cancelled
This commit is contained in:
@@ -1058,10 +1058,10 @@ spec:
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
cpu: 30m
|
||||
memory: 20Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
memory: 120Mi
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
||||
+14
-14
@@ -16,12 +16,12 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 64Mi
|
||||
memory: 200Mi
|
||||
limits:
|
||||
memory: 768Mi
|
||||
memory: 400Mi
|
||||
jvmOptions:
|
||||
-Xms: "192M"
|
||||
-Xmx: "384M"
|
||||
-Xms: "128M"
|
||||
-Xmx: "320M"
|
||||
|
||||
---
|
||||
apiVersion: kafka.strimzi.io/v1
|
||||
@@ -42,12 +42,12 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
memory: 350Mi
|
||||
limits:
|
||||
memory: 1536Mi
|
||||
memory: 600Mi
|
||||
jvmOptions:
|
||||
-Xms: "256M"
|
||||
-Xmx: "1024M"
|
||||
-Xms: "192M"
|
||||
-Xmx: "512M"
|
||||
|
||||
---
|
||||
apiVersion: kafka.strimzi.io/v1
|
||||
@@ -77,17 +77,17 @@ spec:
|
||||
topicOperator:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 80Mi
|
||||
cpu: 15m
|
||||
memory: 130Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 250Mi
|
||||
userOperator:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 80Mi
|
||||
cpu: 15m
|
||||
memory: 130Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 250Mi
|
||||
|
||||
---
|
||||
apiVersion: kafka.strimzi.io/v1
|
||||
|
||||
@@ -31,16 +31,16 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 100Mi
|
||||
memory: 80Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 400Mi
|
||||
- name: mongodb-agent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 80Mi
|
||||
cpu: 20m
|
||||
memory: 35Mi
|
||||
limits:
|
||||
memory: 200Mi
|
||||
memory: 100Mi
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: data-volume
|
||||
|
||||
@@ -16,9 +16,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -39,9 +39,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -62,9 +62,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -85,9 +85,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -108,9 +108,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -131,9 +131,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -154,9 +154,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -177,9 +177,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -200,9 +200,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -223,9 +223,9 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
---
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
@@ -246,6 +246,6 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
cpu: 30m
|
||||
memory: 30Mi
|
||||
memory: 50Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 200Mi
|
||||
|
||||
@@ -61,10 +61,10 @@ spec:
|
||||
- containerPort: 6379
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 32Mi
|
||||
cpu: 10m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 64Mi
|
||||
memory: 60Mi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
@@ -130,10 +130,10 @@ spec:
|
||||
mountPath: /data/ratelimit/config
|
||||
resources:
|
||||
requests:
|
||||
cpu: 20m
|
||||
memory: 64Mi
|
||||
cpu: 10m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 256Mi
|
||||
memory: 60Mi
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
||||
+36
-36
@@ -10,10 +10,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: user-redis
|
||||
key: password
|
||||
@@ -41,10 +41,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: player-redis
|
||||
key: password
|
||||
@@ -72,10 +72,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: game-redis
|
||||
key: password
|
||||
@@ -103,10 +103,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: shop-redis
|
||||
key: password
|
||||
@@ -134,10 +134,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: order-redis
|
||||
key: password
|
||||
@@ -165,10 +165,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: wallet-redis
|
||||
key: password
|
||||
@@ -196,10 +196,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: community-redis
|
||||
key: password
|
||||
@@ -227,10 +227,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: review-redis
|
||||
key: password
|
||||
@@ -258,10 +258,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: dispute-redis
|
||||
key: password
|
||||
@@ -289,10 +289,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: notification-redis
|
||||
key: password
|
||||
@@ -320,10 +320,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: search-redis
|
||||
key: password
|
||||
@@ -351,10 +351,10 @@ spec:
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 24Mi
|
||||
cpu: 5m
|
||||
memory: 10Mi
|
||||
limits:
|
||||
memory: 1Gi
|
||||
memory: 80Mi
|
||||
redisSecret:
|
||||
name: chat-redis
|
||||
key: password
|
||||
|
||||
Reference in New Issue
Block a user