Home > database >  OpenShift/OKD, what is the difference between deployment, service, route, ingress?
OpenShift/OKD, what is the difference between deployment, service, route, ingress?

Time:01-13

Could you please explain use of each "Kind" of OpenShift in a short sentences?

It is okay, that deployment contains data about, image source, pod counts, limits etc.

With the route we can determine the URL for each deployment as well as Ingress, but what is the difference and when should use route and when ingress?

And what is the exact use of service?

Thanks for your help in advance!

CodePudding user response:

Your question cannot be answered simply in short words or one line answers, go through the links and explore more,

enter image description here

Exact use of service:

Each pod in a Kubernetes cluster has its own unique IP address. However, the IP addresses of the Pods in a Deployment change as they move around. Therefore, using Pod IP addresses directly is illogical. Even if the IP addresses of the member Pods change, you will always have a consistent IP address with a Service.

A Service also provides load balancing. Clients call a single, dependable IP address, and the Service's Pods distribute their requests evenly.

  • Related