Kubernetes on VPS: Minimal Cluster with k3s
k3s is a lightweight Kubernetes distribution requiring only 512MB RAM — perfect for VPS servers with 4+ GB RAM.
Install k3s
curl -sfL https://get.k3s.io | sh -
kubectl get nodesDeploy Application
kubectl apply -f deployment.yaml
kubectl get pods
kubectl get servicesHelm Package Manager
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm repo add jetstack https://charts.jetstack.ioTip: k3s is perfect for single VPS 4-8GB. For HA production clusters, use at minimum 3 Master nodes for etcd quorum.