apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: test-ingress annotations: kubernetes.io/ingress.class: haproxy spec: rules: - http: paths: - path: /testpath backend: serviceName: test servicePort: 80