Use Hostname instead of IP to install k8s
[iec.git] / src / foundation / scripts / config
index a1ad323..846be67 100755 (executable)
@@ -29,9 +29,21 @@ K8S_WORKER_GROUP=(
 # K8s parameter
 CLUSTER_IP=172.16.1.136 # Align with the value in our K8s setup script
 POD_NETWORK_CIDR=192.168.0.0/16
-#CNI type: flannel/calico/contivvpp
+SVC_CIDR=172.16.1.0/24
+#IEC support multiple network solution for Kubernetes: calico,flannel,contivpp,cilium,etc
 CNI_TYPE=calico
 #kubernetes-cni version 0.7.5/ 0.6.0
-CNI_VERSION=0.6.0
+#CNI_VERSION=0.7.5
+CNI_VERSION=0.8.6
 #kubernetes version: 1.15.2/ 1.13.0
-KUBE_VERSION=1.13.0
+#KUBE_VERSION=1.15.0
+KUBE_VERSION=1.19.0
+
+
+# DEV_NAME is an associative array, list network interface device names used by contivpp,
+# Use IP address of K8S_WORKER_GROUP as key, for example
+#  DEV_NAME=(
+#  [10.169.40.106]="enp137s0f0"
+#  )
+declare -A DEV_NAME
+DEV_NAME=()