Skip to content

Instantly share code, notes, and snippets.

View ab7z's full-sized avatar
🐲
Working from home

Bernstein ab7z

🐲
Working from home
View GitHub Profile
@ab7z
ab7z / install_worker.sh
Last active July 16, 2025 16:21
Kubernetes Worker Node Installation Script - CKA Study
#!/bin/bash
#
# Kubernetes Worker Node Installation Script
#
# Usage:
# 1. With command line arguments:
# ./install_worker.sh <CONTROL_PLANE_IP> <CONTROL_PLANE_HOSTNAME>
# Example: ./install_worker.sh 94.130.105.77 master-node
#
# 2. With environment variables:
@ab7z
ab7z / uninstall_cp.sh
Created July 16, 2025 11:00
Complete Kubernetes Control Plane Uninstaller Script for CKA Certification Study and Production Use. Safely removes Kubernetes cluster, containerd runtime, and Cilium CNI from Ubuntu/Debian systems. Run this script on the control plane server to completely clean up the Kubernetes installation.
#!/bin/bash
set -e
echo "============================================="
echo "Kubernetes Control Plane Uninstaller"
echo "============================================="
echo ""
echo "WARNING: This will completely remove Kubernetes and all associated components!"
@ab7z
ab7z / install_cp.sh
Created July 16, 2025 10:27
Complete Kubernetes Control Plane Installation Script for CKA Certification Study and Production Use. Automatically installs latest Kubernetes cluster with containerd runtime and Cilium CNI on Ubuntu/Debian systems. Run this script on the control plane server that will host the Kubernetes master node.
#!/bin/bash
# =============================================================================
# Kubernetes Control Plane Installation Script
# =============================================================================
#
# Description: Complete Kubernetes Control Plane Installation Script for CKA
# Certification Study and Production Use. Automatically installs
# latest Kubernetes cluster with containerd runtime and Cilium CNI
# on Ubuntu/Debian systems. This script should be run on the