Skip to content

Commit ef1013f

Browse files
[DEVHAS-339] Remove resource limits (#18)
* remove resource limits from kubernetes deployment spec. Signed-off-by: Michael Valdron <[email protected]> * remove resource limits from kubernetes component. Signed-off-by: Michael Valdron <[email protected]> * add missing resource requests to kubernetes deployment spec. Signed-off-by: Michael Valdron <[email protected]> --------- Signed-off-by: Michael Valdron <[email protected]>
1 parent 9c77a07 commit ef1013f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ spec:
2020
containerPort: 8081
2121
protocol: TCP
2222
resources:
23-
limits:
24-
memory: "1024Mi"
25-
cpu: "500m"
23+
requests:
24+
memory: "100Mi"
25+
cpu: "10m"
2626
---
2727
kind: Service
2828
apiVersion: v1

devfile.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ components:
2929
- name: kubernetes-deploy
3030
attributes:
3131
deployment/replicas: 1
32-
deployment/cpuLimit: '100m'
3332
deployment/cpuRequest: 10m
34-
deployment/memoryLimit: 250Mi
3533
deployment/memoryRequest: 100Mi
3634
deployment/container-port: 8081
3735
kubernetes:

0 commit comments

Comments
 (0)