--- 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