If you do not have a Kubernetes cluster - you can use K3s on your local machine on small server.
K3s - Lightweight Kubernetes
Lightweight Kubernetes. Production ready, easy to install, half the memory, all in a binary less than 100 MB.
Great for:
Edge
IoT
CI
Development
ARM
Embedding k8s
Situations where a PhD in k8s clusterology is infeasible Check more infor here https://github.com/k3s-io/k3s?tab=readme-ov-file#k3s---lightweight-kubernetes
Install K3S The install.sh script provides a convenient way to download K3s and add a service to systemd or openrc.
To install k3s as a service, run:
curl -sfL https://get.k3s.io | sh -
A kubeconfig file is written to /etc/rancher/k3s/k3s.yaml and the service is automatically started or restarted. The install script will install K3s and additional utilities, such as kubectl, crictl, k3s-killall.sh, and k3s-uninstall.sh, for example:
sudo kubectl get nodes
Done - now you have a cluster.
Add cluster to unifie
Step 2 - get installation code and run it with kubectl apply
(Optional, you can do it later) Select software that you want to install into the cluster
Now we have a cluster, you can see the nodes in this cluster. And use it as you wish.
Comments