Enables SCTPsupport in K8s v1.18 cluster
While we are still using Kubernetes v1.18, this change enables
SCTPSupport in the cluster via features gate.
@@ -648,6 +648,7 @@ function run_k8s_api {
--tls-private-key-file=${KURYR_KUBERNETES_DATA_DIR}/server.key \
--token-auth-file=${KURYR_KUBERNETES_DATA_DIR}/known_tokens.csv \
--allow-privileged=true \
+ --feature-gates="SCTPSupport=true" \
--v=$(get_k8s_log_level) \
--logtostderr=true"
@@ -671,6 +672,7 @@ function run_k8s_controller_manager {
--min-resync-period=3m \
--v=$(get_k8s_log_level) \
--logtostderr=true \
+ --feature-gates="SCTPSupport=true" \
--leader-elect=false"
run_process kubernetes-controller-manager "$command" root root
@@ -690,6 +692,7 @@ function run_k8s_scheduler {
--master=${KURYR_K8S_API_URL} \
--v=$(get_k8s_log_level) \
--logtostderr=true \
+ --feature-gates="SCTPSupport=true" \
--leader-elect=false"
run_process kubernetes-scheduler "$command" root root
@@ -745,6 +748,7 @@ function run_k8s_kubelet {
--address=0.0.0.0 \
--enable-server \
--network-plugin=cni \
+ --feature-gates="SCTPSupport=true" \
--cni-bin-dir=$CNI_BIN_DIR \
--cni-conf-dir=$CNI_CONF_DIR \
--cert-dir=${KURYR_KUBERNETES_DATA_DIR}/kubelet.cert \
