From 5aac34d86af49f3325da477347d7dc45dacbde38 Mon Sep 17 00:00:00 2001 From: Elena Viter Date: Thu, 7 Dec 2023 15:37:34 +0100 Subject: [PATCH] #3174: Enable Multi-Core CPU Support for Node-RED Projects --- kubernetes.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kubernetes.js b/kubernetes.js index e96e13b..f8ae702 100644 --- a/kubernetes.js +++ b/kubernetes.js @@ -695,10 +695,10 @@ module.exports = { stack: { properties: { cpu: { - label: 'CPU Cores (%)', - validate: '^([1-9][0-9]?|100)$', - invalidMessage: 'Invalid value - must be a number between 1 and 100', - description: 'How much of a single CPU core each Project should receive' + label: 'CPU Cores (in 1/100th units)', + validate: '^([1-9][0-9]{0,2}|1000)$', + invalidMessage: 'Invalid value - must be a number between 1 and 1000, where 100 represents 1 CPU core', + description: 'Defines the CPU resources each Project should receive, in units of 1/100th of a CPU core. 100 equates to 1 CPU core' }, memory: { label: 'Memory (MB)',