k8s/manifests/03-ingress/hw-ingress.yaml

29 lines
673 B
YAML
Raw Normal View History

2023-06-22 00:13:38 +10:00
---
2023-06-22 00:12:30 +10:00
apiVersion: networking.k8s.io/v1
2023-06-22 00:13:38 +10:00
kind: Ingress
metadata:
name: hw-ingress
namespace: vdk2ch
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1
spec:
rules:
- host: asdf.vdk2ch.ru
http:
paths:
2023-06-22 00:18:19 +10:00
- path: /
pathType: Prefix
backend:
2023-06-22 00:18:52 +10:00
service:
2023-06-22 00:33:40 +10:00
name: hw-service
2023-06-22 00:34:26 +10:00
metadata:
namespace: vdk2ch
2023-06-22 00:19:10 +10:00
port:
2023-06-22 00:26:41 +10:00
number: 8085
2023-06-22 00:17:34 +10:00
# - path: /
# pathType: Prefix
# backend:
# service:
# name: hw-service
# port:
# number: 80