From ea22a9a6ef89d66de5057773d45ba4887a14d036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Tue, 13 Jun 2023 21:57:50 +0200 Subject: [PATCH] add cpu + ram --- devfile.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index 83b0bc9..bf6e5f7 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -6,12 +6,17 @@ components: controller.devfile.io/merge-contribution: true container: endpoints: - - exposure: public - name: hello-endpoint - protocol: http - targetPort: 5032 + - exposure: public + name: web + protocol: http + targetPort: 5032 + - exposure: public + name: api + protocol: http + targetPort: 5033 image: registry.redhat.io/devspaces/udi-rhel8:3.5 - memoryLimit: 2Gi + memoryLimit: 4G + cpuLimit: 8000m mountSources: true sourceMapping: /projects volumeMounts: