Fix Insecure Kubelet and etcd
A cluster node has been configured insecurely.
docs · k8s.io/docs/reference/access-authn-authz/kubelet-authn-authzEvery task in the CKS lab maps to a domain in the official Certified Kubernetes Security Specialist curriculum. Below is the full list — what you'll practice, what each task tests, and how it maps to the exam blueprint.
Lock down network access, the kubelet, API authentication, and ingress TLS, and run CIS benchmark checks.
A cluster node has been configured insecurely.
docs · k8s.io/docs/reference/access-authn-authz/kubelet-authn-authzThe worker node is running an older kubelet patch version (v1.30.0) and must be upgraded to v1.30.1. Access The upgrade is performed on the worker node itself.
docs · k8s.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgradeThe API server is currently configured insecurely.
docs · k8s.io/docs/reference/access-authn-authz/authenticationRestrict RBAC and service accounts, tighten API server flags, and keep the cluster patched.
A Deployment already references a TLS Secret, but the Secret does not exist.
docs · k8s.io/docs/concepts/configuration/secretNamespace secure-ns currently allows unrestricted ingress traffic.
docs · k8s.io/docs/concepts/services-networking/network-policiesAn application must be exposed over HTTPS using an Ingress.
docs · k8s.io/docs/concepts/services-networking/ingressCilium is installed in the cluster.
docs · docs.cilium.io/en/stable/network/servicemesh/mutual-authentication/mutual-authenticationReduce the host attack surface with AppArmor, seccomp, and kernel hardening.
A node has insecure Docker permissions.
docs · docs.docker.com/engine/securityApply Pod Security Standards, securityContext, and mTLS, and protect secrets at rest.
A Deployment is running with an insecure container security context.
docs · k8s.io/docs/tasks/configure-pod-container/security-contextA ServiceAccount is automatically mounting API credentials into Pods.
docs · k8s.io/docs/tasks/configure-pod-container/configure-service-accountNamespace restricted-ns enforces the restricted Pod Security Standard. A Deployment pss-app in this namespace is currently non-compliant and its Pods cannot start.
docs · k8s.io/docs/concepts/security/pod-security-standardsScan images for vulnerabilities, harden Dockerfiles, generate SBOMs, and enforce image policy.
An application image is built from an insecure Dockerfile.
docs · k8s.io/docs/tasks/configure-pod-container/security-contextOne Deployment contains multiple Alpine-based containers.
docs · k8s.io/docs/concepts/security/supply-chain-securityThe API server must enforce image admission checks using ImagePolicyWebhook.
docs · k8s.io/docs/reference/access-authn-authz/admission-controllersDetect threats at runtime with Falco, behavioral analytics, and audit logging.
A Pod in the cluster is accessing /dev/mem.
docs · falco.org/docs/rulesAudit logging is not correctly configured on the API server.
docs · k8s.io/docs/tasks/debug/debug-cluster/audit