mirror of
https://github.com/boostorg/website-v2.git
synced 2026-01-19 04:42:17 +00:00
Set CPU on deployment
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user