mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-17 01:55:10 +01:00
traffic
This commit is contained in:
parent
f76aac3b59
commit
1b8879c684
4 changed files with 37 additions and 13 deletions
18
kube/main-ingress.yaml
Normal file
18
kube/main-ingress.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: main-ingress
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /
|
||||
spec:
|
||||
rules:
|
||||
- host: hugo-chat.nilstrieb.dev
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: hugo-chat-frontend-service
|
||||
port:
|
||||
number: 8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue