k8s/manifests/03-ingress/web2-ingress.yaml
Simple_Not ed4135139d
All checks were successful
continuous-integration/drone/push Build is passing
ingress?
2023-06-22 00:51:59 +10:00

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