Browse Source

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
changes/57/767957/2
Tabitha Fasoyin 2 months ago
parent
commit
500ff16481
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      devstack/plugin.sh

+ 4
- 0
devstack/plugin.sh View File

@ -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 \


Loading…
Cancel
Save