From 3b5ffb8704c32f1926f84fd41e6805957ae3a2b9 Mon Sep 17 00:00:00 2001 From: chenbowen Date: Tue, 30 Sep 2025 11:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bpm=20=E9=83=A8=E7=BD=B2?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index f36d10b..77960de 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -2,7 +2,7 @@ apiVersion: apps/v1 kind: Deployment metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: zt-module-bpm labels: app: zt-module-bpm @@ -41,6 +41,13 @@ spec: initialDelaySeconds: 30 periodSeconds: 10 failureThreshold: 5 + resources: + requests: + cpu: "500m" + memory: "1024Mi" + limits: + cpu: "700m" + memory: "2048Mi" terminationGracePeriodSeconds: 30 strategy: type: RollingUpdate @@ -51,13 +58,14 @@ spec: apiVersion: v1 kind: Service metadata: - namespace: ns-f16a3067ca7b434aad127d15eac82503 + namespace: ns-d6a0e78ebd674c279614498e4c57b133 name: zt-module-bpm spec: - type: ClusterIP + type: NodePort selector: app: zt-module-bpm ports: - protocol: TCP port: 48083 - targetPort: 48083 \ No newline at end of file + targetPort: 48083 + nodePort: 30093 \ No newline at end of file