Service types, kube-proxy, DNS, Ingress, NetworkPolicy, CNI plugins and Gateway API.
39 cards · basic cards · AI-written, checked twice. Edit anything.
- What is a Kubernetes Service?
Show answer
An abstraction that exposes a set of pods as a network service
- What are the four main Kubernetes Service types?
Show answer
ClusterIP, NodePort, LoadBalancer, ExternalName
- What does a ClusterIP Service do?
Show answer
Exposes the Service on an internal IP address, accessible only within the cluster
- What does a NodePort Service do?
Show answer
Exposes the Service on each node at a static port, making it accessible externally
- What does a LoadBalancer Service do?
Show answer
Provisions an external load balancer from the cloud provider and routes traffic to the Service
- What does an ExternalName Service do?
Show answer
Maps a Service to an external DNS name without a selector
- What is kube-proxy?
Show answer
A network proxy daemon running on each node that implements service abstractions
- How does kube-proxy in iptables mode work?
Show answer
Uses Linux iptables rules to route traffic to pod endpoints
- How does kube-proxy in IPVS mode work?
Show answer
Uses Linux Virtual Server for load balancing with better performance than iptables
- What is CoreDNS in Kubernetes?
Show answer
The default DNS server that provides service discovery by resolving service names to cluster IPs
- What is the fully qualified DNS name format for a Kubernetes Service?
Show answer
<service-name>.<namespace>.svc.cluster.local
- What is a headless Service in Kubernetes?
Show answer
A Service with no cluster IP, returning individual pod IPs when queried by DNS
- What is an Ingress in Kubernetes?
Show answer
An API object that manages external access to services, typically HTTP and HTTPS
- What does an Ingress controller do?
Show answer
Watches Ingress resources and configures an external load balancer or edge router to route traffic
- What is path-based routing in Ingress?
Show answer
Routing that directs traffic to different backends based on the URL path