charmed-kubernetes / kubernetes-docs

This repository contains the development version of docs for Charmed Kubernetes
7 stars 52 forks source link

MetalLB: recommend IPVS proxy mode #772

Closed Cynerva closed 1 year ago

Cynerva commented 1 year ago

This doc change depends on a new feature, the proxy-extra-config option, that hasn't been released yet. It's set to go out with 1.27+ck2. See LP:2020059.

IPVS mode is needed to avoid this issue with MetalLB in clusters that use policy based routing on Kubernetes host machines.

IPVS mode is also documented in the kubernetes-control-plane charm doc here. The currently documented method based on proxy-extra-args doesn't work, so that page will need to be updated too, after 1.27+ck2 goes live. I'm not quite sure how to stage that now.

Although, I wonder about the placement of IPVS documentation in the charmhub doc. It feels like an advanced networking concept that could use a better home. Should it get its own how-to?

netlify[bot] commented 1 year ago

Deploy Preview for cdk-next ready!

Name Link
Latest commit cd26a94ebba0dda3bb35a24c5877cdb16cd61cef
Latest deploy log https://app.netlify.com/sites/cdk-next/deploys/64ed23bb90871f0008bf15d3
Deploy Preview https://deploy-preview-772--cdk-next.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

evilnick commented 1 year ago

This seems fine BTW. As for charmhub, we can't stage stuff, so we'll just have to remember to update it. I think you are correct about IPVS - probably an explanation page and a how-to

kwmonroe commented 1 year ago

IPVS mode is also documented in the kubernetes-control-plane charm doc here. The currently documented method based on proxy-extra-args doesn't work, so that page will need to be updated too, after 1.27+ck2 goes live. I'm not quite sure how to stage that now.

I've updated the discourse post with proxy-extra-config as noted in this PR.

Although, I wonder about the placement of IPVS documentation in the charmhub doc. It feels like an advanced networking concept that could use a better home. Should it get its own how-to?

@Cynerva i agree with you and @evilnick that this warrants a place in advanced networking docs, but I don't think we should try to land that with this PR. That'll fit better once we get into our diataxis structure -- let's track that effort in #787.