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.

Change-Id: I985ef66a72183dfacb1cb90841f572aff966ed72
This commit is contained in:
Tabitha Fasoyin 2020-12-18 21:08:39 +00:00
parent 027fd994c5
commit 500ff16481
1 changed files with 4 additions and 0 deletions

View File

@ -648,6 +648,7 @@ function run_k8s_api {
--tls-private-key-file=${KURYR_KUBERNETES_DATA_DIR}/server.key \ --tls-private-key-file=${KURYR_KUBERNETES_DATA_DIR}/server.key \
--token-auth-file=${KURYR_KUBERNETES_DATA_DIR}/known_tokens.csv \ --token-auth-file=${KURYR_KUBERNETES_DATA_DIR}/known_tokens.csv \
--allow-privileged=true \ --allow-privileged=true \
--feature-gates="SCTPSupport=true" \
--v=$(get_k8s_log_level) \ --v=$(get_k8s_log_level) \
--logtostderr=true" --logtostderr=true"
@ -671,6 +672,7 @@ function run_k8s_controller_manager {
--min-resync-period=3m \ --min-resync-period=3m \
--v=$(get_k8s_log_level) \ --v=$(get_k8s_log_level) \
--logtostderr=true \ --logtostderr=true \
--feature-gates="SCTPSupport=true" \
--leader-elect=false" --leader-elect=false"
run_process kubernetes-controller-manager "$command" root root run_process kubernetes-controller-manager "$command" root root
@ -690,6 +692,7 @@ function run_k8s_scheduler {
--master=${KURYR_K8S_API_URL} \ --master=${KURYR_K8S_API_URL} \
--v=$(get_k8s_log_level) \ --v=$(get_k8s_log_level) \
--logtostderr=true \ --logtostderr=true \
--feature-gates="SCTPSupport=true" \
--leader-elect=false" --leader-elect=false"
run_process kubernetes-scheduler "$command" root root run_process kubernetes-scheduler "$command" root root
@ -745,6 +748,7 @@ function run_k8s_kubelet {
--address=0.0.0.0 \ --address=0.0.0.0 \
--enable-server \ --enable-server \
--network-plugin=cni \ --network-plugin=cni \
--feature-gates="SCTPSupport=true" \
--cni-bin-dir=$CNI_BIN_DIR \ --cni-bin-dir=$CNI_BIN_DIR \
--cni-conf-dir=$CNI_CONF_DIR \ --cni-conf-dir=$CNI_CONF_DIR \
--cert-dir=${KURYR_KUBERNETES_DATA_DIR}/kubelet.cert \ --cert-dir=${KURYR_KUBERNETES_DATA_DIR}/kubelet.cert \