Skip to content

Commit

Permalink
cd: add static ip
Browse files Browse the repository at this point in the history
  • Loading branch information
tyknkd committed May 19, 2024
1 parent 3636b9d commit 20e9d31
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deployment/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: /
Expand All @@ -14,7 +16,7 @@ spec:
name: web-server
port:
number: 8888
- host: monitoring.newsanalyzer.io
- host: monitoring.newsanalyzer
http:
paths:
- path: /
Expand Down

0 comments on commit 20e9d31

Please sign in to comment.