Setting the RUNNER to use crio (#208)

This change helps with setting up the RUNNER to use crio
by default instead of using containerd. If the user wants
to use containerd, they need to specify when running the
setup_system script.

Signed-off: Syed Ahsan <syed.ahsan.shamim.zaidi@intel.com>
This commit is contained in:
Syed Ahsan
2019-10-08 11:05:21 -07:00
committed by Justin Scott
parent d95d82e102
commit 859237b189
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -34,7 +34,9 @@ This script ensures the following
* Customizes the system to ensure correct defaults are setup (IP Forwarding, Swap off,...)
* Ensures all the dependencies are loaded on boot (kernel modules)
> NOTE: This step is done automatically if using vagrant.
> NOTE: This step is done automatically if using vagrant. The [`setup_system.sh`](setup_system.sh)
script uses the runtime specified in the `RUNNER` environment variable and defaults to `crio`. To use the
`containerd` runtime, set the `RUNNER` environment variable to `containerd`.
### Configuration for high numbers of pods per node
+1 -1
View File
@@ -10,7 +10,7 @@ HIGH_POD_COUNT=${HIGH_POD_COUNT:-""}
# set no proxy
ADD_NO_PROXY="10.244.0.0/16,10.96.0.0/12"
ADD_NO_PROXY+=",$(hostname -I | sed 's/[[:space:]]/,/g')"
: "${RUNNER:=containerd}"
: "${RUNNER:=crio}"
# update os version
function upate_os_version() {