toy/kustomize/ingress.yaml

17 lines
292 B
YAML
Raw Normal View History

2024-07-04 02:10:35 +00:00
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: toy-ingress
spec:
rules:
- http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: toy
port:
name: web