Update user_config with CPU manager parameters 93/993/2
authorKrisztian Lengyel <krisztian.lengyel@nokia.com>
Fri, 14 Jun 2019 06:15:00 +0000 (08:15 +0200)
committerKrisztian Lengyel <krisztian.lengyel@nokia.com>
Fri, 14 Jun 2019 12:48:11 +0000 (14:48 +0200)
Change-Id: I17a30dd9fb7547e430b8c1912bca0932f8f8be03
Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
userconfigtemplate/user_config.yaml

index 1ad5259..e75ea7c 100644 (file)
@@ -249,7 +249,7 @@ caas:
     encrypted_ca_key: '["<ENCRYPTED_CA_KEY>"]'
 
     ### This parameter defines the DNS domain served by the REC DNS server for example
-    ### in-cluster Kubernetes Services all belongs to this domain DNS queries. 
+    ### in-cluster Kubernetes Services all belongs to this domain DNS queries.
     ### Outside of this domain are either rejected, or forwarded to a configured upstream DNS server (if, any).
     ### The default value is: rec.io
     #dns_domain: "<VALUE>"
@@ -385,7 +385,11 @@ performance_profiles:
         ### Host CPU allocations.
         ### Any host CPUs that are not allocated for some specific purpose
         ### here will be automatically assigned by the system:
-        ### - All remaining CPUs are allocated for the host platform.
+        ### - If the node contains 'caas' in its service_profiles remaining
+        ###   CPUs are allocated for CaaS CPU pools. Remainder CaaS CPU CPUs
+        ###   allocated for default container execution.
+        ### - Any CPUs that don't fall into the above categories are allocated
+        ###   for the host platform.
 
         ### Optional. Allocate CPUs for the host platform.
         ### The configured counts determine the number of full CPU cores to
@@ -400,6 +404,18 @@ performance_profiles:
             #numa0: <COUNT>
             #numa1: <COUNT>
 
+        ### Optional. Create CPU pools in CaaS CPU manager.
+        ### Type of this parameter is dictionary, consisting of the following attributes:
+        ### - exclusive_pool_percentage
+        ### - shared_pool_percentage
+        ### Attributes are optional, but at least one of them shall be defined
+        ### if caas_cpu_pools is defined. The sum of values can't exceed 100.
+        ### Minimum allocation is 1 CPU, which means anything greater than 0
+        ### ensures 1 CPU allocation.
+        #caas_cpu_pools:
+            #exclusive_pool_percentage: <VALUE>
+            #shared_pool_percentage: <VALUE>
+
 ### Storage profiles
 storage_profiles:
     ### The storage_profiles section name is part of mandatory configuration.