From 20e9d31349a7210bd6c0c8cca8327afbc70e2934 Mon Sep 17 00:00:00 2001 From: tyknkd <78797823+tyknkd@users.noreply.github.com> Date: Mon, 20 May 2024 08:40:26 +0900 Subject: [PATCH] cd: add static ip --- deployment/templates/ingress.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deployment/templates/ingress.yaml b/deployment/templates/ingress.yaml index 3f8818d..73f00be 100644 --- a/deployment/templates/ingress.yaml +++ b/deployment/templates/ingress.yaml @@ -2,9 +2,11 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: newsanalyzer-ingress + annotations: + kubernetes.io/ingress.global-static-ip-name: newsanalyzer-ip spec: rules: - - host: app.newsanalyzer.io + - host: app.newsanalyzer http: paths: - path: / @@ -14,7 +16,7 @@ spec: name: web-server port: number: 8888 - - host: monitoring.newsanalyzer.io + - host: monitoring.newsanalyzer http: paths: - path: /