#!/bin/bash cat << "EOF" _ _ _ _ (_) (_) | | | | _ __ _ __ _ _ __ _ | |_ __| | ___ __ __ | | / _` | / _` | | '__| | | | __| / _` | / _ \ \ \ / / | | | (_| | | (_| | | | | | | |_ _ | (_| | | __/ \ V / | | \__,_| \__, | |_| |_| \__| (_) \__,_| \___| \_/ _/ | __/ | |__/ |___/ Kubernetes Setup Script for All Nodes (including Master Node) EOF # Set Kubernetes version # K8S_VERSION="1.30" sudo mkdir -p /etc/apt/keyrings # Update package index and install dependencies sudo apt-get update -y sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release # Disable swap sudo swapoff -a sudo sed -i '/ swap / s/^/#/' /etc/fstab # Configure kernel parameters cat <