From 4b16261e3525c48cf2e6abd9d248dee1dd45e3bd Mon Sep 17 00:00:00 2001 From: archer <545436317@qq.com> Date: Thu, 9 Nov 2023 11:58:43 +0800 Subject: [PATCH] fix: launchpad rollingupdate --- frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts b/frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts index 3318703e777..1c5804df50f 100644 --- a/frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts +++ b/frontend/providers/applaunchpad/src/utils/deployYaml2Json.ts @@ -36,8 +36,8 @@ export const json2DeployCr = (data: AppEditType, type: 'deployment' | 'statefuls strategy: { type: 'RollingUpdate', rollingUpdate: { - maxUnavailable: 1, - maxSurge: 0 + maxUnavailable: 0, + maxSurge: 1 } } };