Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Ingress controllers should handle edge cases uniformly x-platform #775

Closed
1 of 34 tasks
aledbf opened this issue Apr 13, 2016 · 1 comment
Closed
1 of 34 tasks

Ingress controllers should handle edge cases uniformly x-platform #775

aledbf opened this issue Apr 13, 2016 · 1 comment

Comments

@aledbf
Copy link
Contributor

aledbf commented Apr 13, 2016

Ideas:

  • root URL (mapping to a different url in the upstream)
    • global per controlller —root-url
    • per Ingress rule using an annotation root-url. This means the ingress only contains one rule
  • upstreams to external resources (like /google proxy to http://www.google.cl)
kind: Ingress
metadata:
  name: external-ingress
spec:
  rules:
  - host: foo.bar.com
    http:
      paths:
      - backend:
          serviceName: external:www.google.cl
          servicePort: 80
        path: /google
  • rules that overlap (firt rule wins, event with warning) 766
$ kubectl get ing
NAME      RULE          BACKEND   ADDRESS
demo      -                       172.17.4.99
          foo.bar.com
          /             echoheaders-x:80
foo-tls   -                       172.17.4.99
          foo.bar.com
          /             echoheaders-x:80
          bar.baz.com
          /             echoheaders-y:80

NGINX controller e2e tests:

  • no default backend
  • invalid default backend
  • no ingress
  • single ingress:
    • rule
      • invalid service
      • invalid port
      • no endpoints
      • no host (it should use the _ nginx server)
      • without path
  • multiple ingress:
    • rule
      • invalid service
      • invalid port
      • no endpoints
      • with same path (error or just a warning?)
      • without path
  • TLS rules:
    • invalid certs
    • invalid hosts (fails verification)
    • invalid service
    • invalid port
    • no endpoints
    • no host (it should use the _ nginx server)
  • tcp configmap
    • invalid service
    • invalid port
    • no endpoints
  • custom nginx configmap
    • change timeouts
    • invalid fields
@bprashanth bprashanth changed the title Ideas and missing tests to implement in Ingress controller Ingress controllers should handle edge cases uniformly x-platform Apr 13, 2016
@aledbf
Copy link
Contributor Author

aledbf commented Nov 10, 2016

This issue was moved to kubernetes/ingress-nginx#7

@aledbf aledbf closed this as completed Nov 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants