apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: test.ingress
  namespace: default
  labels:
    app: traefik

spec:
  rules:
    - host: whoami.test
      http:
        paths:
          - path: /whoami
            backend:
              serviceName: whoami
              servicePort: http
