Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kgctl connect improve availability #369

Open
Mattes83 opened this issue Oct 10, 2023 · 0 comments
Open

kgctl connect improve availability #369

Mattes83 opened this issue Oct 10, 2023 · 0 comments

Comments

@Mattes83
Copy link

Hi!

We are utilizing 'kgctl connect' to connect a machine to the Services CIDR inside a cloud k8s cluster running kilo as a daemonset, which works great.

I looked at the code and saw that the first ready node is assigned the 'allowed ips' in its peer section. When this node is not available anymore we have a downtime until the next sync.

We are trying to mitigate the effects by sing a shorter resync period and some modification in the kgctl connect code.
We are using cluster api to manage the clusters and one of the first things cluster api does when deleting a node is to set spec.unschedulable to true. We only need access to the services CIDR from this machine, so we exclude all nodes which have spec.unschedulable=true. (https://github.com/squat/kilo/blob/main/cmd/kgctl/connect_linux.go#L305)

Is there any better solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant