19 lines
404 B
YAML
19 lines
404 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: example-ingress
|
|
namespace: vdk2ch
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
|
spec:
|
|
rules:
|
|
- host: asdf.vdk2ch.ru
|
|
http:
|
|
paths:
|
|
- path: /v2
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: web2
|
|
port:
|
|
number: 8080 |