Kubernetes
A cluster in Lagos, ready for kubectl.
Create a k3s cluster, pick its workers and download the kubeconfig. Then deploy with the kubectl you already know.
lagos-hacksuya-shoprunning
suya-shop-cpcontrol plane · 2 vCPU · 2 GB
suya-shop-w1Power · 2 vCPU · 4 GB
menuorderscart
suya-shop-w2Power · 2 vCPU · 4 GB
menuorders
suya-shop-w3Power · 2 vCPU · 4 GB
menucartqueue
$ kubectl apply -f k8s/8/8 running
Bring your manifests.
k3s is certified Kubernetes, so the YAML and tools you use elsewhere work here.
~/projects/suya-shop
$ export KUBECONFIG=~/Downloads/suya-shop-kubeconfig.yaml
$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
suya-shop-cp Ready control-plane 6m v1.36.2+k3s1
suya-shop-w1 Ready <none> 5m v1.36.2+k3s1
suya-shop-w2 Ready <none> 5m v1.36.2+k3s1
suya-shop-w3 Ready <none> 5m v1.36.2+k3s1
$ kubectl apply -f k8s/
deployment.apps/menu created
service/menu created
Included with every cluster.
Whatever you pick for the workers, every cluster comes with these.
- k3sA lightweight, CNCF-certified Kubernetes distribution.
- Standard kubectlDownload the kubeconfig and use the tools you have.
- Managed control planeSet up on its own 2 vCPU, 2 GB node.
- Pick your versionChoose the Kubernetes version when you create the cluster.
- Private IP per nodeEvery node is listed with its private IP.
- Persistent volumeslocal-path is the default storage class.
- Private imagesPull from your own registry with an image pull secret.
- Runs in LagosSolar first, batteries after dark.