kube-proxy
The network component on each Kubernetes node that routes traffic sent to Services to the right pods.
In more detail
It programs packet-forwarding rules on the node, using iptables, IPVS or nftables, and runs as a DaemonSet or a system service on every node. It constantly watches the API server, so audit policies usually drop its watch requests as noise.
Examples
kubectl -n kube-system get cm kube-proxy -o yaml | grep mode:kube-proxy constantly watches the API server, producing high-volume, low-value audit events, so audit policies usually drop them.Related terms
- Kubernetes Service — The Kubernetes object that gives a changing set of pods one stable name and address, and spreads traffic across the ready ones.
- EndpointSlice — The object that lists the actual pod addresses behind a Service and whether each one is ready.
- Container Network Interface — The Container Network Interface: a standard for plugins that give pods their network, such as Calico or Cilium.
- Kubernetes audit policy — The rules telling the Kubernetes API server what to record for each request, from None through Metadata and Request to RequestResponse.
- ClusterIP — The default Service type: a stable virtual IP address reachable only from inside the cluster.
- audit policy — The Kubernetes file of ordered rules that decides which API requests are logged and at what level of detail.
- node — One machine, physical or virtual, that belongs to a Kubernetes cluster and runs pods.
Taught in
- A Service With Nobody Behind It — Certified Kubernetes Administrator (CKA) Exam Prep
- kubeadm init And join: What Lands Where — Certified Kubernetes Administrator (CKA) Exam Prep
- Upgrades In The Only Order That Works — Certified Kubernetes Administrator (CKA) Exam Prep
- Which IP Answers: Pods, Services And NodePorts — Certified Kubernetes Administrator (CKA) Exam Prep
- Observability: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Services And Empty Endpoints — Certified Kubernetes Application Developer (CKAD) Exam Prep
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)