aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/components/policy-drools-pdp
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/components/policy-drools-pdp')
-rwxr-xr-xkubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml14
-rwxr-xr-xkubernetes/policy/components/policy-drools-pdp/values.yaml16
2 files changed, 22 insertions, 8 deletions
diff --git a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
index 4ce90dad1a..c483b5fd3d 100755
--- a/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
+++ b/kubernetes/policy/components/policy-drools-pdp/templates/statefulset.yaml
@@ -40,6 +40,13 @@ spec:
image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-db-readiness
+ resources:
+ limits:
+ cpu: "100m"
+ memory: "0.5Gi"
+ requests:
+ cpu: "3m"
+ memory: "0.02Gi"
{{- if not .Values.nexus.offline }}
- command:
- /app/ready.py
@@ -55,6 +62,13 @@ spec:
image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
+ resources:
+ limits:
+ cpu: "100m"
+ memory: "0.5Gi"
+ requests:
+ cpu: "3m"
+ memory: "0.02Gi"
{{- end }}
containers:
- name: {{ include "common.name" . }}
diff --git a/kubernetes/policy/components/policy-drools-pdp/values.yaml b/kubernetes/policy/components/policy-drools-pdp/values.yaml
index fe94cd7da7..8ae5e5b695 100755
--- a/kubernetes/policy/components/policy-drools-pdp/values.yaml
+++ b/kubernetes/policy/components/policy-drools-pdp/values.yaml
@@ -157,18 +157,18 @@ flavor: small
resources:
small:
limits:
- cpu: 1
- memory: 0.8Gi
+ cpu: "1"
+ memory: "0.8Gi"
requests:
- cpu: 0.5
- memory: 0.8Gi
+ cpu: "0.5"
+ memory: "0.8Gi"
large:
limits:
- cpu: 2
- memory: 1.6Gi
+ cpu: "2"
+ memory: "1.6Gi"
requests:
- cpu: 1
- memory: 1.6Gi
+ cpu: "1"
+ memory: "1.6Gi"
unlimited: {}
#Pods Service Account