tezvyn:

What is the difference between a Service and an Ingress?

Source: kubernetes.iobeginner

This tests L4 versus L7 networking abstractions. A good answer says Services load-balance to Pods internally while Ingresses route external HTTP to Services via a controller, then gives a path-based scenario.

This tests your understanding of Kubernetes networking layers and separation of concerns. A strong answer explains that a Service is a Layer 4 construct providing a stable virtual IP and internal load balancing across Pods, while an Ingress is a Layer 7 construct that manages external HTTP and HTTPS routing to those Services and requires an Ingress Controller. It then describes a realistic scenario such as path-based routing for a web frontend and API. Red flag: stating that an Ingress replaces a Service or routes directly to individual Pods.

Read the original → kubernetes.io

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

What is the difference between a Service and an Ingress? · Tezvyn