I’m trying to get started with a basic internal kubernetes deployment with the final goal of it running some internal CI/CD agents. At the moment I’m only playing around with basic Hyper-V machines , trying to learn how to get things going (I don’t think I can play around with minikube, since I need windows pods for the CI/CD agents we require and then I’ll need gMSA on top of that, but I’m not even there yet). I’m trying to follow various tutorials, and the gist of it is this: the cluster stops responding (connection was refused
) and seems to be going into some kind of a crash loop.
After a while, if I manage to time my kubectl
command right, I’ll get the following (note the restarts):
mbender@control-node:~$ kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system coredns-5dd5756b68-8txtb 0/1 Pending 0 54s
kube-system coredns-5dd5756b68-gwwk8 0/1 Pending 0 54s
kube-system etcd-control-node 1/1 Running 1 (110s ago) 111s
kube-system kube-apiserver-control-node 1/1 Running 1 (80s ago) 77s
kube-system kube-controller-manager-control-node 1/1 Running 1 (110s ago) 112s
kube-system kube-proxy-h24zf 1/1 Running 1 (53s ago) 54s
kube-system kube-scheduler-control-node 1/1 Running 1 (110s ago) 112s
In my last attempt I’ve followed the tutorial from How To Install And Configure Kubernetes On Ubuntu 22.04 - Virtono Community and I’ve had no issues with any of the steps.
Annoyingly all my attempts seem to end up the same. What am I doing wrong?
Cluster information:
Kubernetes version: 1.28.2
Installation method: manual?
Host OS: Ubuntu 22.04
CNI and version:
CRI and version: