diff --git a/back/node_watcher/kubernetes/nodewatcher-deployment-staging.yaml b/back/node_watcher/kubernetes/nodewatcher-deployment-staging.yaml index 88a3ec3d..110b564a 100644 --- a/back/node_watcher/kubernetes/nodewatcher-deployment-staging.yaml +++ b/back/node_watcher/kubernetes/nodewatcher-deployment-staging.yaml @@ -27,6 +27,12 @@ spec: ports: - name: prisma-4466 containerPort: 4466 + requests: + memory: "1280Mi" + cpu: "250m" + limits: + memory: "2560Mi" + cpu: "500m" env: - name: PRISMA_CONFIG valueFrom: @@ -54,6 +60,12 @@ spec: "--dir=/cloudsql", "-instances=test-installations-222013:europe-west1:kusama-etl=tcp:0.0.0.0:5432", "-credential_file=/secrets/cloudsql/credentials.json"] + requests: + memory: "16Mi" + cpu: "250m" + limits: + memory: "32Mi" + cpu: "500m" volumeMounts: - name: cloudsql-instance-credentials mountPath: /secrets/cloudsql diff --git a/back/server/kubernetes/server-deployment.yaml b/back/server/kubernetes/server-deployment.yaml index c3490287..0d7aa221 100644 --- a/back/server/kubernetes/server-deployment.yaml +++ b/back/server/kubernetes/server-deployment.yaml @@ -29,4 +29,4 @@ spec: value: http://nodewatcher.nodewatcher-staging:4466 ports: - name: nomidot-4000 - containerPort: 4000 + containerPort: 4000 \ No newline at end of file