Commit aacd2496 authored by Matthias's avatar Matthias
Browse files

add resource restrictions for k8s

parent 57a5ed3e
k8sName: import
k8sGroupName: api
k8sEnvironment: prod
k8sReplicas: 1
k8sRequestsCpu: "0.2"
k8sRequestsMemory: "128Mi"
k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
drupalApiCredentials: drupal-live-api-credentials
sftpConfigs: internal-sftp-config
......
k8sName: import
k8sGroupName: api
k8sEnvironment: stage
k8sReplicas: 1
k8sRequestsCpu: "0.2"
k8sRequestsMemory: "128Mi"
k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
drupalApiCredentials: drupal-api-credentials
sftpConfigs: internal-sftp-config
......
k8sName: import
k8sGroupName: api
k8sEnvironment: test
k8sReplicas: 1
k8sRequestsCpu: "0.2"
k8sRequestsMemory: "128Mi"
k8sLimitsCpu: "0.4"
k8sLimitsMemory: "256Mi"
drupalApiCredentials: drupal-api-credentials
sftpConfigs: internal-sftp-config
......
......@@ -38,4 +38,11 @@ spec:
- containerPort: 5000
name: http
protocol: TCP
imagePullPolicy: Always
\ No newline at end of file
imagePullPolicy: Always
resources:
requests:
cpu: "{{ .Values.k8sRequestsCpu }}"
memory: "{{ .Values.k8sRequestsMemory }}"
limits:
cpu: "{{ .Values.k8sLimitsCpu }}"
memory: "{{ .Values.k8sLimitsMemory }}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment