public-cloud-roadmap icon indicating copy to clipboard operation
public-cloud-roadmap copied to clipboard

Kubernetes Kube-proxy ipvs support

Open ZILosoft opened this issue 2 years ago • 4 comments

hi! please add IPVS mode to kube proxy to your Kubernetes Clusters!

ZILosoft avatar Apr 22 '22 20:04 ZILosoft

Also need this feature

chloyka avatar Apr 22 '22 20:04 chloyka

Support this. Very important feature

ossman-d avatar Apr 22 '22 20:04 ossman-d

+1

aejuice-github avatar Apr 22 '22 21:04 aejuice-github

Hi @ZILosoft and all. I confirm we will work to enable this, and enter it to the official backlog/ W will come back soon with a first mid term ETA.

mhurtrel avatar Apr 26 '22 11:04 mhurtrel

We plan to release IPVS support at cluster creation and reset in February (API only at first)

mhurtrel avatar Jan 03 '23 15:01 mhurtrel

Hi all

A new field is now available through the API: "kubeProxyMode". You can now select "iptables" or "ipvs" on cluster creation and cluster reset.

You can also add some specific configuration in the "customization" field

{
  kubeProxy:
    ipvs:
      minSyncPeriod: "minSyncPeriod is the minimum period that ipvs rules are refreshed in RFC3339 duration format (e.g. 'PT60S')"
      scheduler: "ipvs scheduler",
      syncPeriod: "syncPeriod is the period that ipvs rules are refreshed in RFC3339 duration format (e.g. 'PT60S'). Must be greater than 0",
      tcpFinTimeout: "tcpFinTimeout is the timeout value used for IPVS TCP sessions after receiving a FIN in RFC3339 duration format (e.g. 'PT60S'). The default value is 'PT0S', which preserves the current timeout value on the system",
      tcpTimeout: "tcpTimeout is the timeout value used for idle IPVS TCP sessions in RFC3339 duration format (e.g. 'PT60S'). The default value is 'PT0S', which preserves the current timeout value on the system",
      udpTimeout: "udpTimeout is the timeout value used for IPVS UDP packets in RFC3339 duration format (e.g. 'PT60S'). The default value is 'PT0S', which preserves the current timeout value on the system"
}

jMonsinjon avatar Jan 19 '23 17:01 jMonsinjon

Hi, the feature is also available through our Terraform provider: https://docs.ovh.com/gb/en/kubernetes/customizing-kubeproxy/

scraly avatar Mar 15 '23 07:03 scraly

Is the IPVS support available in all regions? I tried creating a cluster in UK1 using Terraform, but the calico-kube-controllers and wormhole are restarting every other minute making the cluster unusable. I have the following ticket open with the support in case you want more details and traces: #8140557 Using the same Terraform config with IPTables works perfectly.

yvigara avatar Jul 31 '23 13:07 yvigara