From d85520036a185bbe75abb3c713904dfd3371698d Mon Sep 17 00:00:00 2001 From: Fisher1006 Date: Fri, 17 Jun 2022 15:56:24 +0800 Subject: [PATCH] Update container.config.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 支持多条件扩缩容 --- container.config.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/container.config.json b/container.config.json index 877d20a4..e602172a 100644 --- a/container.config.json +++ b/container.config.json @@ -9,7 +9,17 @@ "cpu": 0.25, "mem": 0.5, "policyType": "cpu", - "policyThreshold": 60, + "policyThreshold": 60, + "policyDetails": { + { + "PolicyType": "cpu", + "PolicyThreshold": 60 + }, + { + "PolicyType": "mem", + "PolicyThreshold": 60 + } + }, "envParams": {}, "customLogs": "stdout", "dataBaseName":"wxcomponent",