From 93740aa23f86fcc8fe5813c6feda9f5ef2066969 Mon Sep 17 00:00:00 2001 From: xiaoziv Date: Fri, 5 Aug 2022 14:34:10 +0800 Subject: [PATCH] Update deployment.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit nserver设置多副本时候,指定hostname会导致多副本的hostname相同,导致规则的分配出现问题 --- templates/nserver/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/nserver/deployment.yaml b/templates/nserver/deployment.yaml index 3be2288..d1c17d2 100644 --- a/templates/nserver/deployment.yaml +++ b/templates/nserver/deployment.yaml @@ -66,7 +66,7 @@ spec: name: nserver-template - mountPath: /app/etc/script name: nserver-script - hostname: nserver + # hostname: nserver restartPolicy: Always volumes: - name: nserver-config