Kubernetes Two-Node Setup Script

Job ID: 39904000

Budget: ₹600 – ₹1,500 INR

I’m looking for a concise, copy-and-paste bash script that spins up a minimal Kubernetes cluster consisting of one master and one worker node, both running Ubuntu. The script should:

• Install and configure containerd as the container runtime
• Pull and deploy the latest stable Kubernetes components (kubeadm, kubelet, kubectl)
• Initialise the control plane on the master and automatically generate the join command
• Join the worker node to the cluster with the bare-minimum settings needed for a functional test workload
• Apply any basic network add-on required for pod-to-pod communication (Calico, flannel, or similar—whichever is fastest to integrate)

Keep the script self-contained—no interactive prompts—and include a short README explaining prerequisites (e.g., hostname resolution, swap disabled, required ports open). A quick verification step, such as printing kubectl get nodes, is enough to confirm success.

I’ll test on fresh Ubuntu installs, so please keep dependencies lean and limit configuration to what is strictly necessary to obtain a healthy two-node cluster.