k0sproject / k0sproject/k0sctl

It's not obvious that a load balancer is required for HA

Open
#602 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
582
Forks
113
Avg merge
2d 13h
Merged PRs (30d)
34

Description

### Is your feature request related to a problem? Please describe.

I know it's documented, but when I read the docs the first time I missed the nuance about control plane connectivity issues without having a tcp load balancer and spent quite a while debugging konnectivity-agent "duplicate server" errors.

### Describe the solution you would like

It would be awesome if k0sctl required either `spec.api.externalAddress` or `spec.network.nodeLocalLoadBalancing` to be set when there are multiple controllers defined for the cluster. If there are valid deployments without a load balancer then maybe a warning during `apply` would be sufficient.

### Describe alternatives you've considered

_No response_

### Additional context

None, just wanted to say thanks for what is a great project!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the apply entry point and trace how multiple controllers, spec.api.externalAddress, and spec.network.nodeLocalLoadBalancing are represented and validated. Done means apply clearly rejects or warns when a multi-controller cluster has neither setting, while preserving valid deployments that do not need a load balancer.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.