Update user_config with CPU manager parameters
[ta/config-manager.git] / userconfigtemplate / user_config.yaml
index 1e1e257..e75ea7c 100644 (file)
@@ -29,7 +29,7 @@
 ###        - Minor changes in template (e.g. new optional attributes or
 ###          changes in possible values, value ranges or default values)
 ###        - Backwards compatible
-version: 2.0.0
+version: 2.0.1
 
 ### Cloud name can consist of lower case letters, digits and dash (-).
 ### Name must start and end with a letter or a digit.
@@ -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.
@@ -472,17 +488,6 @@ storage_profiles:
         ### This parameter contains the name for the created LVM volume.
         #lv_name: <VALUE>
 
-        ### Mandatory
-        ### This parameter contains the directory where to mount
-        ### the backend of this profile.
-        #mount_dir: <VALUE>
-
-        ### Optional
-        ### This parameter contains the mount options used to mount
-        ### the backend. The format must be a valid fstab format.
-        ### By default it is empty.
-        #mount_options: <VALUE>
-
 host_os:
     ### The value of this parameter is used to protect the entire GRUB 2 menu structure of all the infrastructure nodes.
     ### The configured value should be a properly salted PBKDF2 (Password-Based Key Derivation Function 2) hash.