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:50:27 +10:00
|
|
|
- path: /v1
|
2023-06-22 00:18:19 +10:00
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
2023-06-22 00:18:52 +10:00
|
|
|
service:
|
2023-06-22 00:38:27 +10:00
|
|
|
name: hw-service
|
2023-06-22 00:19:10 +10:00
|
|
|
port:
|
2023-06-22 00:45:48 +10:00
|
|
|
number: 80
|
2023-06-22 00:17:34 +10:00
|
|
|
# - path: /
|
|
|
|
# pathType: Prefix
|
|
|
|
# backend:
|
|
|
|
# service:
|
|
|
|
# name: hw-service
|
|
|
|
# port:
|
|
|
|
# number: 80
|