I would like to run a kubernetes cluster on one single Google Cloud instance.
I would like to have one front end pod and one back end pod.
I would like to run an nginx ingress controller on that cluster. The application, that I want to start with helm and a yaml-file, needs access to a mongoDB (Can I run this DB within the kubernetes cluster?).
I installed kubernetes and helm (see command lines below). They seam to work.
** But I can not find any instruction, what to do next.**
Do I also need Minikube, because I want to run the cluster on one single host/machine? It seams to me, that with an installation of Minikube Kubernetes is installed once again.
Cluster information:
Kubernetes version: kubectl version --client
Client Version: v1.32.3
Kustomize Version: v5.5.0
Cloud being used: (put bare-metal if not on a public cloud) google
Installation method: sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.sh
Host OS: Debian 12 bookworm
CNI and version: ??
CRI and version: ??
With the command line “kubectl version” I get
The connection to the server localhost:8080 was refused - did you specify the right host or port?