kube-system
The Kubernetes namespace that holds the cluster's own components, such as CoreDNS and, on kubeadm clusters, the control plane pods.
In more detail
Only administrators should be able to create or change objects in it. Few people look inside kube-system, which is why attackers hide CronJobs and pods there, so writes to it by unusual identities deserve an alert. Workloads that talk to cluster DNS must be allowed egress to kube-system on port 53 when a default-deny policy is in place.
Examples
kubectl get pods -n kube-systemFew people look inside kube-system, which is why attackers hide CronJobs and pods there.Related terms
- Kubernetes namespace — A named area inside a cluster that keeps object names apart and groups them for permissions, quotas and policies.
- CoreDNS — The DNS server that runs inside a Kubernetes cluster and resolves Service and pod names.
- control plane — The set of programs that store the cluster's objects and make its decisions: etcd, the API server, the scheduler and the controller manager.
- persistence — Anything an attacker sets up so their access survives reboots, logoffs and password changes, such as a scheduled task or a new key.
Taught in
- Helm: Install, Upgrade And Roll Back — Certified Kubernetes Application Developer (CKAD) Exam Prep
- ServiceAccounts And Tokens — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Custom Resources And Operators — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Kubernetes NetworkPolicies & Microsegmentation — Cloud Security & DevSecOps Engineering
- CloudTrail Logging, Integrity Validation & Athena — Cloud Security & DevSecOps Engineering
- Control Plane: etcd, API Server, Scheduler, Controllers — Kubernetes: Production-Grade Container Orchestration
- Worker Nodes: kubelet, Runtime, CNI And kube-proxy — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: API Server And Control Plane Failures — Kubernetes: Production-Grade Container Orchestration
- Windows Event Logs, Sysmon & Linux Auditd Telemetry — Security Operations & Threat Hunting (SOC)
- Detecting Persistence: Tasks, Registry & Services — Security Operations & Threat Hunting (SOC)