This commit is contained in:
parent
11938e6aca
commit
8d4a84a053
20
manifests/03-ingress/hw-ingress.yaml
Normal file
20
manifests/03-ingress/hw-ingress.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: hw-ingress
|
||||||
|
namespace: vdk2ch
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: asdf.vdk2ch.ru
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: hw-service
|
||||||
|
port:
|
||||||
|
number: 80
|
Loading…
Reference in New Issue
Block a user