k0sproject / k0sctl

A bootstrapping and management tool for k0s clusters.
Other
378 stars 77 forks source link

Problem with Control Plane HA #744

Closed emilianocarranza closed 5 days ago

emilianocarranza commented 2 months ago

Hi, I am using k0sctl to set up a cluster. I have 3 VMs as controllers and 2 VMs as workers. I am using HAProxy for load balancing the controllers. It seems that the cluster starts with k0sctl, but when I check the pods running in the system, I get different responses. What could be happening that I can't detect?"

till commented 2 months ago

@emilianocarranza if you access the pod via a k8s service, then make sure your labels (for the selector) are distinct enough. Otherwise, maybe you deployed different versions of the pod — e.g. if you are not using a ReplicaSet or a DaemonSet. Otherwise, can't think of anything that would exhibit this behavior.