k8s/manifests/03-ingress/hw-ingress.yaml
Simple_Not 6329ea25ef
All checks were successful
continuous-integration/drone/push Build is passing
ingress?
2023-06-22 00:50:27 +10:00

27 lines
612 B
YAML

---
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: /v1
pathType: Prefix
backend:
service:
name: hw-service
port:
number: 80
# - path: /
# pathType: Prefix
# backend:
# service:
# name: hw-service
# port:
# number: 80