spring-web-modules/k8s/07-ingress.yaml

17 lines
379 B
YAML
Raw Normal View History

2022-04-11 10:15:20 +07:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: spring-web-ingress
namespace: spring-web-dev
spec:
rules:
- host: springwebapi-demo.ctdn.dev
http:
paths:
- backend:
service:
name: spring-web-service
port:
number: 8080
path: /
pathType: Prefix