1. 调整 pod 资源限制

This commit is contained in:
chenbowen
2025-11-06 18:33:25 +08:00
parent 07e000ae33
commit 5fb15c31ed

View File

@@ -29,14 +29,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48080 port: 48080
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48080 port: 48080
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources:
@@ -96,14 +96,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48082 port: 48082
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48082 port: 48082
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources:
@@ -111,7 +111,7 @@ spec:
cpu: "500m" cpu: "500m"
memory: "1024Mi" memory: "1024Mi"
limits: limits:
cpu: "2048m" cpu: "2560m"
memory: "2048Mi" memory: "2048Mi"
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 30
strategy: strategy:
@@ -168,14 +168,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48081 port: 48081
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48081 port: 48081
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources:
@@ -240,14 +240,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48083 port: 48083
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48083 port: 48083
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources:
@@ -312,14 +312,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48084 port: 48084
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48084 port: 48084
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources:
@@ -384,14 +384,14 @@ spec:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48100 port: 48100
initialDelaySeconds: 10 initialDelaySeconds: 50
periodSeconds: 5 periodSeconds: 5
failureThreshold: 3 failureThreshold: 3
livenessProbe: livenessProbe:
httpGet: httpGet:
path: /actuator/health path: /actuator/health
port: 48100 port: 48100
initialDelaySeconds: 30 initialDelaySeconds: 50
periodSeconds: 10 periodSeconds: 10
failureThreshold: 5 failureThreshold: 5
resources: resources: