From fc5497613d8fa363f7692ec25d1eda20d60125b8 Mon Sep 17 00:00:00 2001 From: chenbowen Date: Wed, 10 Sep 2025 10:14:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9C=8D=E5=8A=A1=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E9=85=8D=E9=A2=9D=E9=99=90=E5=88=B6=E4=B8=8E=E9=9B=86?= =?UTF-8?q?=E7=BE=A4=E5=91=BD=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment.yaml | 70 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 56 insertions(+), 14 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index ab47171a..cd28d944 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-gateway labels: app: yudao-gateway @@ -29,7 +29,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-gateway spec: type: NodePort @@ -45,7 +45,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-infra labels: app: yudao-module-infra @@ -84,6 +84,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -94,7 +101,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-infra spec: type: ClusterIP @@ -109,7 +116,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-system labels: app: yudao-module-system @@ -148,6 +155,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -158,7 +172,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-system spec: type: ClusterIP @@ -173,7 +187,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-bpm labels: app: yudao-module-bpm @@ -212,6 +226,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -222,7 +243,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-bpm spec: type: ClusterIP @@ -237,7 +258,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-report labels: app: yudao-module-report @@ -276,6 +297,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -286,7 +314,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-report spec: type: ClusterIP @@ -301,7 +329,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-template labels: app: yudao-module-template @@ -340,6 +368,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -350,7 +385,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: yudao-module-template spec: type: ClusterIP @@ -365,7 +400,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: logistics-server labels: app: logistics-server @@ -404,6 +439,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -414,7 +456,7 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: logistics-server spec: type: ClusterIP