An individual ingress backed by a service requires an annotation ingress.bluemix.net/rewrite-path
to get rewriting of the url. Managing multiple services in code is error-prone. Is there a way to define multiple individual ingress objects and have them all merged by the loadbalancer? It does not seem to work this way out of the box.
You may deploy any number of ingress controllers using ingress class within a cluster.
Unlike NodePort or LoadBalancer, Ingress is not actually a type of service. Instead, it is an entry point that sits in front of multiple services in the cluster. It can be defined as a collection of routing rules that govern how external users access services running inside a Kubernetes cluster.
Kubernetes Ingress is an API object that provides routing rules to manage external users' access to the services in a Kubernetes cluster, typically via HTTPS/HTTP. With Ingress, you can easily set up rules for routing traffic without creating a bunch of Load Balancers or exposing each service on the node.
In Kubernetes, an Ingress is an object that allows access to your Kubernetes services from outside the Kubernetes cluster. You configure access by creating a collection of rules that define which inbound connections reach which services. This lets you consolidate your routing rules into a single resource.
Yes. You can have them on different namespaces you can read more about it here
You can also read about it on this Github issue
You can also have multiple ingress controllers for example with nginx ingress controller by specifying the --ingress-class
option on the nginx ingress controller command line. More information here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With