Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the difference between openshift route and k8s ingress?

I'm new to openshift and k8s. I'm not sure what's the difference between these two terms, openshift route vs k8s ingress ?

like image 899
Feng Xi Avatar asked Jan 06 '17 03:01

Feng Xi


People also ask

Does OpenShift use ingress?

The OpenShift API Server Operator uses the domain from the cluster Ingress configuration. This domain is also used when generating a default host for a Route resource that does not specify an explicit host.

Which OpenShift component is the equivalent of Kubernetes ingress?

The Red Hat OpenShift ingress controller implementation is designed to watch ingress objects and create one or more routes to fulfill the conditions specified. If you change the ingress object, the Red Hat OpenShift Ingress Controller syncs the changes and applies to the generated route objects.

What is OpenShift route?

Route [route.openshift.io/v1]A route allows developers to expose services through an HTTP(S) aware load balancing and proxy layer via a public DNS entry. The route may further specify TLS options and a certificate, or specify a public CNAME that the router should also accept for HTTP and HTTPS traffic.

What is OpenShift ingress?

This information is for clusters that run Red Hat OpenShift version 4 only. Ingress is a service that balances network traffic workloads in your cluster by forwarding public or private requests to your apps.


1 Answers

Ultimately they are intended to achieve the same end. Originally Kubernetes had no such concept and so in OpenShift the concept of a Route was developed, along with the bits for providing a load balancing proxy etc. In time it was seen as being useful to have something like this in Kubernetes, so using Route from OpenShift as a starting point for what could be done, Ingress was developed for Kubernetes. In the Ingress version they went for a more generic rules based system so how you specify them looks different, but the intent is to effectively be able to do the same thing.

like image 178
Graham Dumpleton Avatar answered Sep 23 '22 21:09

Graham Dumpleton