#Service

2 posts

K8s Basics #5: Service — ClusterIP / NodePort / LoadBalancer
16 min read

K8s Basics #5: Service — ClusterIP / NodePort / LoadBalancer

[#4](/en/posts/k8s-basics-4) got 3 Pods running, but how traffic reaches them is still empty. Pod IPs change every time, no load balancing across the 3 Pods of one Deployment, and an external browser cannot get in at all. This post fills that gap with the Service abstraction — stable IP and DNS, how selector / Endpoints work, and the trade-offs across the three types ClusterIP / NodePort / LoadBalancer.

Angular Basics #5: Service and Dependency Injection
8 min read

Angular Basics #5: Service and Dependency Injection

Service and dependency injection (DI) — the tools that pull business logic and shared state out of components in Angular.