Set CPU on deployment

This commit is contained in:
sdarwin
2023-10-10 10:16:41 -06:00
committed by Sam Darwin
parent 43ab2c4a6d
commit f91c80b1d7
5 changed files with 42 additions and 0 deletions

View File

@@ -35,6 +35,8 @@ spec:
containers:
-
name: wsgi
resources:
{{- toYaml .Values.wsgiResources | nindent 12 }}
image: {{.Values.Image}}:{{.Values.ImageTag}}
volumeMounts:
{{ toYaml .Values.VolumeMounts | indent 12 }}

View File

@@ -10,6 +10,16 @@ clientMaxBodySize: 250m
replicaCount: "2"
wsgiResources:
limits:
cpu: "500m"
ephemeral-storage: 1Gi
memory: 2Gi
requests:
cpu: "500m"
ephemeral-storage: 1Gi
memory: 2Gi
## NOTE ##
# set publcFqdn to the target domain. `www` will be prepended to the domain
# where necessary

View File

@@ -10,6 +10,16 @@ clientMaxBodySize: 250m
replicaCount: "2"
wsgiResources:
limits:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
requests:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
## NOTE ##
# set publcFqdn to the target domain. `www` will be prepended to the domain
# where necessary

View File

@@ -10,6 +10,16 @@ clientMaxBodySize: 250m
replicaCount: "2"
wsgiResources:
limits:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
requests:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
## NOTE ##
# set publcFqdn to the target domain. `www` will be prepended to the domain
# where necessary

View File

@@ -10,6 +10,16 @@ clientMaxBodySize: 250m
replicaCount: "2"
wsgiResources:
limits:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
requests:
cpu: "1"
ephemeral-storage: 1Gi
memory: 2Gi
## NOTE ##
# set publcFqdn to the target domain. `www` will be prepended to the domain
# where necessary