spring-web-modules/k8s/07-ingress.yaml
Sambo Chea 32c59a69f2
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Add k8s for spring web api
2022-04-11 10:15:20 +07:00

17 lines
379 B
YAML

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