Asking for help? Comment out what you need so we can get more information to help you!
Cluster information:
Kubernetes version:
Client Version: version.Info{Major:“1”, Minor:“27”, GitVersion:“v1.27.0”, GitCommit:“1b4df30b3cdfeaba6024e81e559a6cd09a089d65”, GitTreeState:“clean”, BuildDate:“2023-04-11T17:10:18Z”, GoVersion:“go1.20.3”, Compiler:“gc”, Platform:“linux/amd64”}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:“1”, Minor:“27”, GitVersion:“v1.27.0”, GitCommit:“1b4df30b3cdfeaba6024e81e559a6cd09a089d65”, GitTreeState:“clean”, BuildDate:“2023-04-11T17:04:24Z”, GoVersion:“go1.20.3”, Compiler:“gc”, Platform:“linux/amd64”}
Cloud being used: bare-metal
Installation method: kubeadm
Host OS: Ubuntu 22.04
CNI and version:
CRI and version:
Basically, my problem is when i digit this command “kubectl get pods --all-namespaces” some podes listed as " Unable to connect to the server: EOF ". Sometimes, works and when it works some pods are running and others are with this error “CrashLoopBackOff”
I tried to run kubernetes HA with a multimaster nodes.
I have a haproxy with this configuration:
"
…
frontend kubernetes
bind 10.9.32.88:6443
option tcplog
mode tcp
default_backend kubernetes-master-nodes
backend kubernetes-master-nodes
mode tcp
balance roundrobin
option tcp-check
server kubernetes-master1 10.9.32.80:6443 check fall 3 rise 2
server kubernetes-master2 10.9.32.81:6443 check fall 3 rise 2
…
"
And i use the command in the master “sudo kubeadm init --control-plane-endpoint 10.9.32.88:6443 --pod-network-cidr 10.244.0.0/16”
Please help me