How to enable SCTP and IPVS support in kubernetes version 1.13


#1

How to enable SCTP and IPVS support in kubernetes version 1.13?

Currently i am enabling ipvs by editing config map for kube proxy, as i dont have a config while initialising the cluster. Also, how do i enable sctp support in the cluster?

Regards,
Himani


#2

Kubernetes supports SCTP as a protocol value in Service , Endpoint , NetworkPolicy and Pod definitions as an alpha feature. To enable this feature, the cluster administrator needs to enable the SCTPSupport feature gate on the apiserver, for example, “--feature-gates=SCTPSupport=true,...” . When the feature gate is enabled, users can set the protocol field of a Service , Endpoint , NetworkPolicy and Pod to SCTP . Kubernetes sets up the network accordingly for the SCTP associations, just like it does for TCP connections


#3

Hi,

Can you please specify a sample of config.yaml for the same to pass as argument in kubeadmm init.
Also, can you tell how to enable ipvs using yaml.


#4
kind: MasterConfiguration
apiVersion: kubeadm.k8s.io/v1alpha1
...
kubeProxy:
  config:
    mode: ipvs
...

#5

thanks. i got it working with proxyconfiguration.