From 91e8dbd7db7a6848dac39dea6de2d00e187427e2 Mon Sep 17 00:00:00 2001 From: weibaohui Date: Wed, 25 Dec 2024 10:26:40 +0800 Subject: [PATCH] =?UTF-8?q?fix(ns):=20=E4=BF=AE=E5=A4=8D=E5=B0=B1=E7=BB=AA?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 status.replicas 替换为 spec.replicas,以正确显示期望的副本数量 --- assets/pages/ns/deploy.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/pages/ns/deploy.json b/assets/pages/ns/deploy.json index 6659de0..8164efb 100644 --- a/assets/pages/ns/deploy.json +++ b/assets/pages/ns/deploy.json @@ -840,7 +840,7 @@ "name": "ready", "label": "就绪", "type": "tpl", - "tpl": "${status.readyReplicas||'0'}/${status.replicas}" + "tpl": "${status.readyReplicas||'0'}/${spec.replicas}" }, { "name": "metadata.labels",