From 8a0c4a291476a97be5a5d029b00aa7b6bbf06c0e Mon Sep 17 00:00:00 2001 From: newrain001 Date: Thu, 6 Jul 2023 09:27:26 +0000 Subject: [PATCH] ff Signed-off-by: newrain001 --- cloud/deploy/ruoyi-java.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cloud/deploy/ruoyi-java.yaml b/cloud/deploy/ruoyi-java.yaml index 780ca21..a5dc73f 100644 --- a/cloud/deploy/ruoyi-java.yaml +++ b/cloud/deploy/ruoyi-java.yaml @@ -22,6 +22,13 @@ spec: cpu: "1000m" ports: - containerPort: 8080 + hostAliases: + - ip: "192.168.96.160" + hostnames: + - "mysql.server" + - ip: "192.168.96.141" + hostnames: + - "redis.server" --- apiVersion: v1