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