Kubernetes Security reading list
Beginner
Minimize Microservices Vulnerabilities
Admission controllers
Secrets
Cilium
Istio
System Hardening
Supply Chain Security
[!NOTE] Checkov is a static code analysis tool for infrastructure as code (IaC) and also a software composition analysis (SCA) tool for images and open source packages.
Monitoring, Logging and Runtime Security
Footnotes
SELinux
Install containerd and k8s 1.32 on ubuntu 24.04
- Create t3.small ec2 instance based on ubuntu, because we need atleast 2GB RAM for k8s.
- Install containerd
sudo apt-get update
sudo apt-get install containerd
- Check
# check
ctr
# check runc
runc
- Install kubeadm
sudo apt-get update
# apt-transport-https may be a dummy package; if so, you can skip that package
sudo apt-get install -y apt-transport-https ca-certificates curl gpg
# If the directory `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below.
# sudo mkdir -p -m 755 /etc/apt/keyrings
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
# This overwrites any existing configuration in /etc/apt/sources.list.d/kubernetes.list
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.32/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt-get update
sudo apt-get install -y kubelet kubeadm kubectl
sudo apt-mark hold kubelet kubeadm kubectl
sudo systemctl enable --now kubelet