mirror of
https://github.com/Telecominfraproject/wlan-cloud-helm.git
synced 2025-11-01 02:57:48 +00:00
WIFI-1246 add default CPU/memory limits/requests (#42)
* add default CPU/memory limits/requests * set minimum values to 128Mi and 500m
This commit is contained in:
@@ -134,16 +134,12 @@ persistence:
|
|||||||
## ref: http://docs.datastax.com/en/archived/cassandra/2.0/cassandra/architecture/architecturePlanningHardware_c.html
|
## ref: http://docs.datastax.com/en/archived/cassandra/2.0/cassandra/architecture/architecturePlanningHardware_c.html
|
||||||
##
|
##
|
||||||
resources:
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: "1"
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 4Gi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
limits: {}
|
cpu: 500m
|
||||||
# cpu: 2
|
memory: 3Gi
|
||||||
# memory: 4Gi
|
|
||||||
requests: {}
|
|
||||||
# cpu: 2
|
|
||||||
# memory: 4Gi
|
|
||||||
|
|
||||||
## Secret with keystore, keystore password, truststore, truststore password
|
## Secret with keystore, keystore password, truststore, truststore password
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ imagePullPolicy: "Always"
|
|||||||
|
|
||||||
## Configure resource requests and limits
|
## Configure resource requests and limits
|
||||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
resources: {}
|
resources:
|
||||||
# limits:
|
limits:
|
||||||
# cpu: 200m
|
cpu: 500m
|
||||||
# memory: 1536Mi
|
memory: 2Gi
|
||||||
# requests:
|
requests:
|
||||||
# cpu: 100m
|
cpu: 500m
|
||||||
# memory: 1024Mi
|
memory: 1Gi
|
||||||
kafkaHeapOptions: "-Xmx1G -Xms1G"
|
kafkaHeapOptions: "-Xmx1G -Xms1G"
|
||||||
|
|
||||||
## Optional Container Security context
|
## Optional Container Security context
|
||||||
@@ -322,7 +322,13 @@ zookeeper:
|
|||||||
|
|
||||||
## Configure Zookeeper resource requests and limits
|
## Configure Zookeeper resource requests and limits
|
||||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
resources: ~
|
resources:
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 1Gi
|
||||||
|
requests:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 700Mi
|
||||||
|
|
||||||
## Environmental variables to set in Zookeeper
|
## Environmental variables to set in Zookeeper
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -92,13 +92,13 @@ controller:
|
|||||||
terminationGracePeriodSeconds: 30
|
terminationGracePeriodSeconds: 30
|
||||||
|
|
||||||
## The resources of the Ingress controller pods.
|
## The resources of the Ingress controller pods.
|
||||||
resources: {}
|
resources:
|
||||||
# limits:
|
limits:
|
||||||
# cpu: 100m
|
cpu: 500m
|
||||||
# memory: 64Mi
|
memory: 200Mi
|
||||||
# requests:
|
requests:
|
||||||
# cpu: 100m
|
cpu: 500m
|
||||||
# memory: 64Mi
|
memory: 140Mi
|
||||||
|
|
||||||
## The tolerations of the Ingress controller pods.
|
## The tolerations of the Ingress controller pods.
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|||||||
@@ -166,17 +166,13 @@ ingress:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - chart-example.local
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 750Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 500Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -80,17 +80,13 @@ ingress:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - chart-example.local
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 128Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 128Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
|
|||||||
@@ -437,9 +437,12 @@ slave:
|
|||||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||||
##
|
##
|
||||||
resources:
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 500Mi
|
||||||
|
cpu: 500m
|
||||||
requests:
|
requests:
|
||||||
memory: 256Mi
|
memory: 128Mi
|
||||||
cpu: 250m
|
cpu: 500m
|
||||||
|
|
||||||
## Add annotations to all the deployed resources
|
## Add annotations to all the deployed resources
|
||||||
##
|
##
|
||||||
|
|||||||
@@ -68,17 +68,13 @@ ingress:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - chart-example.local
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 128Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 128Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -64,17 +64,13 @@ ingress:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# - chart-example.local
|
# - chart-example.local
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 128Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 128Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 500m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
|
|||||||
@@ -140,17 +140,13 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- example.com
|
- example.com
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 350Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 280Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -107,17 +107,13 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- wlan-portal-service.zone3.lab.connectus.ai
|
- wlan-portal-service.zone3.lab.connectus.ai
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 450Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 420Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 500m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
|
|||||||
@@ -124,17 +124,13 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- example.com
|
- example.com
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 320Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 300Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -100,17 +100,13 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- example.com
|
- example.com
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 370Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 350Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 500m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
|
|||||||
@@ -100,17 +100,13 @@ ingress:
|
|||||||
hosts:
|
hosts:
|
||||||
- example.com
|
- example.com
|
||||||
|
|
||||||
resources: {}
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 420Mi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 400Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
|||||||
@@ -49,17 +49,13 @@ ports:
|
|||||||
containerPort: 2888 # Port number for zookeeper container server port.
|
containerPort: 2888 # Port number for zookeeper container server port.
|
||||||
protocol: TCP # Protocol for zookeeper container server port.
|
protocol: TCP # Protocol for zookeeper container server port.
|
||||||
|
|
||||||
resources: {} # Optionally specify how much CPU and memory (RAM) each zookeeper container needs.
|
resources:
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
limits:
|
||||||
# choice for the user. This also increases chances charts run on environments with little
|
cpu: 500m
|
||||||
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
memory: 1Gi
|
||||||
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
requests:
|
||||||
# limits:
|
cpu: 500m
|
||||||
# cpu: 100m
|
memory: 700Mi
|
||||||
# memory: 128Mi
|
|
||||||
# requests:
|
|
||||||
# cpu: 100m
|
|
||||||
# memory: 128Mi
|
|
||||||
|
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user