Skip to content
/ cka Public

Kubernetes certification study repository for CKAD βœ…, CKA 🎯, and CKS πŸ“š with automated control plane installation scripts

License

Notifications You must be signed in to change notification settings

ab7z/cka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Kubernetes Certification Study Repository

Personal repository for Kubernetes certification learning path: CKAD βœ…, CKA 🎯, CKS πŸ“š

CKAD: Certified Kubernetes Application Developer

01_installation_configuration

Automated scripts for Kubernetes control plane setup and teardown on Ubuntu/Debian.

Scripts

install_cp.sh - Install Kubernetes control plane with containerd and Cilium CNI

chmod +x install_cp.sh
./install_cp.sh

uninstall_cp.sh - Complete removal of Kubernetes and all components

chmod +x uninstall_cp.sh
./uninstall_cp.sh

install_worker.sh - Install Kubernetes worker node

chmod +x install_worker.sh

# Method 1: Command line arguments
./install_worker.sh <CONTROL_PLANE_IP>  <CONTROL_PLANE_HOSTNAME>

# Method 2: Environment variables
CONTROL_PLANE_IP=<CONTROL_PLANE_IP> CONTROL_PLANE_HOSTNAME=<CONTROL_PLANE_HOSTNAME> ./install_worker.sh

# Method 3: Interactive (will prompt for IP and hostname)
./install_worker.sh

⚠️ Warning

These scripts completely wipe Kubernetes clusters. Use only on test systems.

Features

  • Dynamic version detection
  • System requirements validation (2 CPU, 2GB RAM)
  • Automatic cleanup of previous installations
  • Multi-shell kubectl completion

Why These Scripts?

kubeadm reset doesn't clean everything:

  • CNI configuration remains in /etc/cni/net.d
  • Port 6443 stays occupied
  • Container images persist
  • $HOME/.kube remains

The uninstall script handles complete cleanup including Cilium removal.

About

Kubernetes certification study repository for CKAD βœ…, CKA 🎯, and CKS πŸ“š with automated control plane installation scripts

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages