Paths in Kubernetes Ingress Specs Paths in Kubernetes Ingress Specs kubernetes kubernetes

Paths in Kubernetes Ingress Specs


I believe you need to use wildcards on your path:

apiVersion: extensions/v1beta1  kind: Ingress  metadata:    name:""    annotations:      ingress.kubernetes.io..  spec:    rules:    - host: my-app      http:        paths:        - path: /path/to/service/*          backend:            serviceName: my-service            servicePort: 80

More information here. Seems like it's hard to find any docs with wildcard examples. Not that this is specific to nginx, it may not work with other ingress controllers.