aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/components/sdc-onboarding-be
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/sdc/components/sdc-onboarding-be')
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml8
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml16
-rw-r--r--kubernetes/sdc/components/sdc-onboarding-be/values.yaml16
3 files changed, 20 insertions, 20 deletions
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml
index 6c392ef24c..4bab6315b2 100644
--- a/kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml
+++ b/kubernetes/sdc/components/sdc-onboarding-be/templates/deployment.yaml
@@ -42,11 +42,11 @@ spec:
fieldPath: metadata.namespace
resources:
limits:
- cpu: 100m
- memory: 100Mi
+ cpu: "100m"
+ memory: "0.5Gi"
requests:
- cpu: 3m
- memory: 20Mi
+ cpu: "3m"
+ memory: "0.02Gi"
containers:
- name: {{ include "common.name" . }}
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml b/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
index eb0958c3f0..4cef90b920 100644
--- a/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
+++ b/kubernetes/sdc/components/sdc-onboarding-be/templates/job.yaml
@@ -46,11 +46,11 @@ spec:
fieldPath: metadata.namespace
resources:
limits:
- cpu: 100m
- memory: 100Mi
+ cpu: "100m"
+ memory: "0.5Gi"
requests:
- cpu: 3m
- memory: 20Mi
+ cpu: "3m"
+ memory: "0.02Gi"
containers:
- name: {{ include "common.name" . }}-job
image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.onboardingInitImage }}
@@ -87,11 +87,11 @@ spec:
value: "{{ .Values.global.sdc_cassandra.serviceName }}"
resources:
limits:
- cpu: 800m
- memory: 1024Mi
+ cpu: "800m"
+ memory: "1Gi"
requests:
- cpu: 200m
- memory: 200Mi
+ cpu: "200m"
+ memory: "0.2Gi"
{{ include "common.waitForJobContainer" . | indent 6 | trim }}
serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
volumes:
diff --git a/kubernetes/sdc/components/sdc-onboarding-be/values.yaml b/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
index 81d637314f..a55565676c 100644
--- a/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
+++ b/kubernetes/sdc/components/sdc-onboarding-be/values.yaml
@@ -131,18 +131,18 @@ flavor: small
resources:
small:
limits:
- cpu: 1
- memory: 1.5Gi
+ cpu: "1"
+ memory: "1.5Gi"
requests:
- cpu: 0.5
- memory: 1.5Gi
+ cpu: "0.5"
+ memory: "1.5Gi"
large:
limits:
- cpu: 2
- memory: 3Gi
+ cpu: "2"
+ memory: "3Gi"
requests:
- cpu: 1
- memory: 3Gi
+ cpu: "1"
+ memory: "3Gi"
unlimited: {}
#Pods Service Account