Guia-Tutorial-kubernetes/files/yaml-del-pelado/11-hello-ingress.yaml
Manuel Vergara de7a4de537 Restructuración de los contenidos
Signed-off-by: Manuel Vergara <manuel@vergaracarmona.es>
2022-11-12 03:01:25 +01:00

23 lines
415 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: hello-app
spec:
rules:
- http:
paths:
- path: /v1
pathType: Prefix
backend:
service:
name: hello-v1
port:
number: 8080
- path: /v2
pathType: Prefix
backend:
service:
name: hello-v2
port:
number: 8080