Kubeadm Deploy
Deploy Kubernetes cluster with kubeadm and containerd on Ubuntu
Environment Preparation
1. Multipass Virtual Machine Creation
# Generate key pair
ssh-keygen -t rsa -b 4096 -f ~/k8s_rsa -C k8s
# Create Master node
multipass launch -c 2 -m 2G -d 20G -n master --cloud-init - << EOF
ssh_authorized_keys:
- $(cat ~/.ssh/k8s_rsa.pub)
EOF
# Create Node nodes
multipass launch -c 1 -m 2G -d 20G -n node1 --cloud-init - << EOF
ssh_authorized_keys:
- $(cat ~/.ssh/k8s_rsa.pub)
EOF
multipass launch -c 1 -m 2G -d 20G -n node2 --cloud-init - << EOF
ssh_authorized_keys:
- $(cat ~/.ssh/k8s_rsa.pub)
EOF2. Host and Network Planning
3. Software Versions
Cluster Configuration (Execute on All Nodes)
1. Node Initialization
2. Container Runtime Installation
Build Cluster
1. Component Installation (Execute on All Nodes)
2. Initialize Master Node
3. Install CNI Network Plugin (calico)
4. Cluster Deployment Verification
Kubernetes Dashboard
Kubernetes Native Dashboard
K9S Cluster Management Tool
Last updated