diff --git a/provisioning/couchdb-statefulset.yaml b/provisioning/couchdb-statefulset.yaml index 85179f0adc917b71a2c40276386f1d689e9cc531..af3cce6b727fd1d9a47fe443b3d72d8e0c80dd92 100644 --- a/provisioning/couchdb-statefulset.yaml +++ b/provisioning/couchdb-statefulset.yaml @@ -58,6 +58,11 @@ spec: volumeMounts: - name: couchdb mountPath: /var/lib/couchdb + resources: + limits: + cpu: 500m + requests: + cpu: 30m volumes: - name: couchdb volumeClaimTemplates: diff --git a/templates/xpub-collabra-deployment.yaml b/templates/xpub-collabra-deployment.yaml index 3f9cd901d6cecde735a5bd4cc9e733e741024984..778119d6894ea10ded7dcb6337425a63fb6898ab 100644 --- a/templates/xpub-collabra-deployment.yaml +++ b/templates/xpub-collabra-deployment.yaml @@ -49,6 +49,11 @@ spec: configMapKeyRef: name: ${CI_ENVIRONMENT_SLUG}-nodeconfig key: node_config + resources: + limits: + cpu: 500m + requests: + cpu: 20m command: ["node", "app.js"] ports: - name: ${PACKAGE_NAME}