From 064ff06a8f5921e6f1b1c6a84b8a4e69837d2c11 Mon Sep 17 00:00:00 2001 From: Krisztian Lengyel Date: Fri, 14 Jun 2019 08:15:00 +0200 Subject: [PATCH] Update user_config with CPU manager parameters Change-Id: I17a30dd9fb7547e430b8c1912bca0932f8f8be03 Signed-off-by: Krisztian Lengyel --- userconfigtemplate/user_config.yaml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/userconfigtemplate/user_config.yaml b/userconfigtemplate/user_config.yaml index 1ad5259..e75ea7c 100644 --- a/userconfigtemplate/user_config.yaml +++ b/userconfigtemplate/user_config.yaml @@ -249,7 +249,7 @@ caas: 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: "" @@ -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: #numa1: + ### 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: + #shared_pool_percentage: + ### Storage profiles storage_profiles: ### The storage_profiles section name is part of mandatory configuration. -- 2.16.6