From 66d091f39936ef1490b58cafb272dc89572984af Mon Sep 17 00:00:00 2001 From: yss <17921@qq.com> Date: Sun, 23 Apr 2023 09:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AB=98=E8=B4=A8=E9=87=8F=E8=BF=90=E8=90=A5?= =?UTF-8?q?=EF=BC=9Aoss=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deployment-master.yaml | 5 +++++ deployment-uat.yaml | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/deployment-master.yaml b/deployment-master.yaml index 1dc2948..12ba9cd 100644 --- a/deployment-master.yaml +++ b/deployment-master.yaml @@ -43,6 +43,11 @@ spec: persistentVolumeClaim: claimName: file-pvc readOnly: false + hostAliases: + - ip: "10.238.9.62" + hostnames: + - "oss-cn-xian-unicom-d01-a.i.super.xixian.unicom.local" + - "eshop-mall-jl.oss-cn-xian-unicom-d01-a.i.super.xixian.unicom.local" affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: diff --git a/deployment-uat.yaml b/deployment-uat.yaml index c75f587..3c6f25f 100644 --- a/deployment-uat.yaml +++ b/deployment-uat.yaml @@ -44,6 +44,10 @@ spec: persistentVolumeClaim: claimName: file-pvc readOnly: false + hostAliases: + - ip: "10.242.0.95" + hostnames: + - "test-mall3.oss-cn-guangzhou-gz-d01-a.ops.super.guangzhou.unicom.local" # 必选,Pod中容器列表 containers: - name: biz-service-ebtp-extend