k8s-samples/CKA_Course/ingress.yaml
2022-08-18 21:12:57 -05:00

15 lines
255 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: my-ingress
spec:
rules:
- http:
paths:
- path: /somepath
pathType: Prefix
backend:
service:
name: my-service
port:
number: 80