Skip to content

Commit f4e382a

Browse files
[DEVHAS-339] Remove resource limits (#21)
* remove resource limits from kubernetes deployment spec. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * remove resource limits from kubernetes component. Signed-off-by: Michael Valdron <mvaldron@redhat.com> * add missing resource requests to kubernetes deployment spec. Signed-off-by: Michael Valdron <mvaldron@redhat.com> --------- Signed-off-by: Michael Valdron <mvaldron@redhat.com>
1 parent 880cc82 commit f4e382a

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: "10Mi"
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
@@ -27,9 +27,7 @@ components:
2727
- name: kubernetes-deploy
2828
attributes:
2929
deployment/replicas: 1
30-
deployment/cpuLimit: '100m'
3130
deployment/cpuRequest: 10m
32-
deployment/memoryLimit: 100Mi
3331
deployment/memoryRequest: 10Mi
3432
deployment/container-port: 8081
3533
kubernetes:

0 commit comments

Comments
 (0)