This repository was archived by the owner on Aug 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ This script ensures the following
3838 script uses the runtime specified in the ` RUNNER ` environment variable and defaults to ` crio ` . To use the
3939` containerd ` runtime, set the ` RUNNER ` environment variable to ` containerd ` .
4040
41+ In case of vagrant, if you want to spin up VM's using different environment variable than declared in [ ` setup_system.sh ` ] ,
42+ specify when performing vagrant up. E.g., ` RUNNER=containerd vagrant up `
43+
4144### Specify a version of Clear Linux
4245
4346To specify a particular version of Clear Linux to use, set the CLRK8S_CLR_VER environment variable to the desired
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ METALLB_VER="${CLRK8S_METALLB_VER:-v0.8.1}"
3030NPD_VER=" ${CLRK8S_NPD_VER:- v0.6.6} "
3131PROMETHEUS_VER=" ${CLRK8S_PROMETHEUS_VER:- f458e85e5d7675f7bc253072e1b4c8892b51af0f} "
3232CNI=${CLRK8S_CNI:- " canal" }
33- RUNNER=${CLRK8S_RUNNER:- " crio" }
33+ if [[ -z " ${RUNNER+x} " ]]; then RUNNER=" ${CLRK8S_RUNNER:- " crio" } " ; fi
34+
3435NFD_VER=" ${CLRK8S_NFD_VER:- v0.4.0} "
3536
3637function print_usage_exit() {
@@ -144,10 +145,10 @@ function cni() {
144145 FLANNEL_VER=${1:- $FLANNEL_VER }
145146 FLANNEL_URL=" https://github.com/coreos/flannel"
146147 FLANNEL_DIR=" 0-flannel"
147-
148+
148149 get_repo " ${FLANNEL_URL} " " ${FLANNEL_DIR} /overlays/${FLANNEL_VER} "
149- set_repo_version " ${FLANNEL_VER} " " ${FLANNEL_DIR} /overlays/${FLANNEL_VER} /flannel"
150- kubectl apply -k " ${FLANNEL_DIR} /overlays/${FLANNEL_VER} "
150+ set_repo_version " ${FLANNEL_VER} " " ${FLANNEL_DIR} /overlays/${FLANNEL_VER} /flannel"
151+ kubectl apply -k " ${FLANNEL_DIR} /overlays/${FLANNEL_VER} "
151152 ;;
152153 cilium)
153154 CILIUM_VER=${1:- $CILIUM_VER }
Original file line number Diff line number Diff line change @@ -11,12 +11,11 @@ HIGH_POD_COUNT=${HIGH_POD_COUNT:-""}
1111# set no proxy
1212ADD_NO_PROXY=" .svc,10.0.0.0/8,192.168.0.0/16"
1313ADD_NO_PROXY+=" ,$( hostname -I | sed ' s/[[:space:]]/,/g' ) "
14- : " ${RUNNER:= crio} "
14+ if [[ -z " ${RUNNER+x} " ]] ; then RUNNER= " ${CLRK8S_RUNNER :- crio}" ; fi
1515
1616# update os version
1717function upate_os_version() {
18- if [[ -n " ${CLR_VER} " ]];
19- then
18+ if [[ -n " ${CLR_VER} " ]]; then
2019 sudo swupd repair -m " ${CLR_VER} " --picky
2120 return
2221 fi
You can’t perform that action at this time.
0 commit comments