Running Kubernetes on a laptop works until the laptop runs out of memory or goes to sleep. A VPS gives you an always-on cluster with real networking, accessible from anywhere, at a fixed monthly cost. This guide covers single-node development clusters, a small multi-node lab, and the essentials of ingress, storage and security for each.
Choosing a Distribution
| Option | How it runs | Best for |
|---|---|---|
| k3s | Single binary, runs directly on the host | Always-on dev clusters, labs, small production |
| kind | Kubernetes nodes as Docker containers | Disposable clusters for CI and testing |
| minikube | VM or container driver | Local-style development with add-ons |
| kubeadm | Upstream tooling, manual components | Learning how a cluster is assembled |
k3s is the most practical choice for a VPS: low memory overhead, sensible defaults, and it behaves like standard Kubernetes for your manifests and Helm charts.
Step 1: Single-Node k3s
curl -sfL https://get.k3s.io | sh -
sudo k3s kubectl get nodes
sudo k3s kubectl get pods -A
Read the installation script before piping it to a shell, as with any installer. k3s includes containerd, CoreDNS, the Traefik ingress controller, a local-path storage provisioner and a service load balancer suitable for a single node.
To use kubectl from your computer, copy /etc/rancher/k3s/k3s.yaml, change the server address, and connect through an SSH tunnel rather than exposing port 6443:
ssh -N -L 6443:127.0.0.1:6443 devbox
# in the copied kubeconfig: server: https://127.0.0.1:6443
kubectl get nodes
Step 2: Deploy Something Real
apiVersion: apps/v1
kind: Deployment
metadata: { name: web }
spec:
replicas: 2
selector: { matchLabels: { app: web } }
template:
metadata: { labels: { app: web } }
spec:
containers:
- name: web
image: nginx:1.27
ports: [{ containerPort: 80 }]
resources:
requests: { cpu: 100m, memory: 64Mi }
limits: { memory: 128Mi }
---
apiVersion: v1
kind: Service
metadata: { name: web }
spec:
selector: { app: web }
ports: [{ port: 80 }]
Always set resource requests and memory limits: on a small node, pods without them can starve the control plane.
Step 3: Ingress and TLS
Point a DNS record at the VPS, create an Ingress for your service, and add cert-manager with a Let's Encrypt issuer for automatic certificates. Open only ports 80 and 443 to the internet; keep 6443 (API server) and 10250 (kubelet) closed (see our UFW guide). Note that Kubernetes networking also manipulates iptables, so verify exposure from outside with a port scan of your own server.
Step 4: Storage
The local-path provisioner stores volumes on the node's NVMe disk, which is fast and fine for development. Data is lost if the node is rebuilt, so back up anything important, and remember that local volumes do not move between nodes in a multi-node cluster. For realistic labs with replicated storage, tools such as Longhorn add distributed volumes across nodes, at the cost of more memory and disk.
Step 5: A Multi-Node Lab
To learn scheduling, node failures and rolling upgrades, join several small VPS into one cluster:
# on the server node
curl -sfL https://get.k3s.io | sh -
sudo cat /var/lib/rancher/k3s/server/node-token
# on each agent node
curl -sfL https://get.k3s.io | K3S_URL=https://SERVER_IP:6443 K3S_TOKEN=TOKEN sh -
Agent nodes need to reach the server on 6443, and nodes need to reach each other for the cluster network (Flannel uses UDP 8472 for VXLAN by default). Allow these ports only between your nodes' IPs. Because traffic crosses the public network, consider k3s's WireGuard-based Flannel backend so pod traffic between nodes is encrypted.
Useful Tools for a Dev Cluster
- Helm to install packaged applications.
- k9s for a fast terminal UI over the cluster.
- Skaffold or Tilt to rebuild and redeploy on code changes.
- metrics-server (included in k3s) for
kubectl top. - A small Prometheus/Grafana stack if you are learning observability, sized carefully.
Sizing
| Setup | EPYC plan |
|---|---|
| Single-node k3s, a few test services | 2 vCores / 8 GB |
| Single node with databases, ingress, cert-manager and monitoring | 4 vCores / 16 GB |
| Three-node lab (one server, two agents) | 3 × 2 vCores / 8 GB |
| Heavier dev cluster with CI runners inside | 8 vCores / 32 GB |
Keep the Dev Cluster Safe
- Never expose the API server or kubelet ports publicly.
- Keep the node OS and k3s updated.
- Do not store production secrets or data in a development cluster.
- Delete the cluster or wipe the server when a project ends.
- Prefer namespaces per project and RBAC accounts for teammates rather than sharing the admin kubeconfig.
From Dev Cluster to Production
A single-node k3s cluster can run small production workloads, but production Kubernetes generally means at least three server nodes for a highly available control plane, external or replicated storage, backups of cluster state and persistent volumes, and monitoring. Many small teams find Docker Compose on one or two servers simpler until they need Kubernetes' scheduling and self-healing (see our containerized applications guide).
A Practical Development Workflow
- Keep manifests or Helm charts in the same repository as the application.
- Build images in CI and push them to a registry with a tag per commit.
- Deploy to a per-developer namespace on the dev cluster with Helm or Kustomize.
- Use Skaffold or Tilt for fast inner-loop rebuilds while coding.
- Tear namespaces down when a feature branch is merged.
This mirrors how many teams deploy to production clusters, so problems with manifests, probes and resource settings show up early.
Resetting the Cluster
k3s ships an uninstall script (/usr/local/bin/k3s-uninstall.sh) that removes the cluster completely, which is useful for starting fresh after an experiment. Export anything you want to keep first.
Keeping Costs Down
Development clusters tend to grow. Remove idle namespaces, keep images small and stop experiments you no longer need, so a modest plan stays sufficient.
SkyRainCloud Plans for This Workload
A single-node k3s cluster for development runs on 2 vCores / 8 GB; 4 vCores / 16 GB leaves room for a realistic set of workloads plus monitoring. For a multi-node lab, use three of the smaller plans.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.