Skip to content
Snippets Groups Projects
Commit e297ea1e authored by Sam Galson's avatar Sam Galson
Browse files

feat(resources): add to spec

parent fa5fd97e
No related branches found
No related tags found
No related merge requests found
Pipeline #5277 skipped with stage
...@@ -58,6 +58,11 @@ spec: ...@@ -58,6 +58,11 @@ spec:
volumeMounts: volumeMounts:
- name: couchdb - name: couchdb
mountPath: /var/lib/couchdb mountPath: /var/lib/couchdb
resources:
limits:
cpu: 500m
requests:
cpu: 30m
volumes: volumes:
- name: couchdb - name: couchdb
volumeClaimTemplates: volumeClaimTemplates:
......
...@@ -49,6 +49,11 @@ spec: ...@@ -49,6 +49,11 @@ spec:
configMapKeyRef: configMapKeyRef:
name: ${CI_ENVIRONMENT_SLUG}-nodeconfig name: ${CI_ENVIRONMENT_SLUG}-nodeconfig
key: node_config key: node_config
resources:
limits:
cpu: 500m
requests:
cpu: 20m
command: ["node", "app.js"] command: ["node", "app.js"]
ports: ports:
- name: ${PACKAGE_NAME} - name: ${PACKAGE_NAME}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment