I am using GCP VM Linux XXXX-cloud-amd64 #1 SMP Debian 4.19.269-1 (2022-12-20) x86_64 GNU/Linux
and want to setup Kubernetes cluster on VM.
How to setup kubernetes on Google cloud platform (GCP) Virtual machine (VM) without Google Kubernetes Engine (GKE). If anyone has any info/tutorial to setup cluster with any example that would be much appreciated.
2
Answers
i would recommend checking out the kubespray
It supports the Debian OS distro so will work mostly in your case. Also, it is good for creating production grade clusters.
Official Kubernetes ref doc : https://kubernetes.io/docs/setup/production-environment/tools/kubespray/
For single node setups, I’ve also had good success with https://github.com/k3s-io/k3s – There are some additional resources here: https://ranchermanager.docs.rancher.com/v2.5/getting-started/quick-start-guides/deploy-rancher-manager/gcp