File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2687,6 +2687,15 @@ oom_score = -999
2687
2687
endpoint = ["https://mirror.gcr.io","https://registry-1.docker.io"]
2688
2688
EOF
2689
2689
2690
+ if [[ " ${CONTAINER_RUNTIME_TEST_HANDLER:- } " == " true" ]]; then
2691
+ cat >> " ${config_path} " << EOF
2692
+ # Setup a runtime with the magic name ("test-handler") used for Kubernetes
2693
+ # runtime class tests ...
2694
+ [plugins.cri.containerd.runtimes.test-handler]
2695
+ runtime_type = "io.containerd.runtime.v1.linux"
2696
+ EOF
2697
+ fi
2698
+
2690
2699
# Reuse docker group for containerd.
2691
2700
local containerd_gid=" $( cat /etc/group | grep ^docker: | cut -d: -f 3) "
2692
2701
if [[ ! -z " ${containerd_gid:- } " ]]; then
Original file line number Diff line number Diff line change @@ -1224,6 +1224,7 @@ DISABLE_PROMETHEUS_TO_SD_IN_DS: $(yaml-quote ${DISABLE_PROMETHEUS_TO_SD_IN_DS:-f
1224
1224
CONTAINER_RUNTIME: $( yaml-quote ${CONTAINER_RUNTIME:- } )
1225
1225
CONTAINER_RUNTIME_ENDPOINT: $( yaml-quote ${CONTAINER_RUNTIME_ENDPOINT:- } )
1226
1226
CONTAINER_RUNTIME_NAME: $( yaml-quote ${CONTAINER_RUNTIME_NAME:- } )
1227
+ CONTAINER_RUNTIME_TEST_HANDLER: $( yaml-quote ${CONTAINER_RUNTIME_TEST_HANDLER:- } )
1227
1228
UBUNTU_INSTALL_CONTAINERD_VERSION: $( yaml-quote ${UBUNTU_INSTALL_CONTAINERD_VERSION:- } )
1228
1229
UBUNTU_INSTALL_RUNC_VERSION: $( yaml-quote ${UBUNTU_INSTALL_RUNC_VERSION:- } )
1229
1230
NODE_LOCAL_SSDS_EXT: $( yaml-quote ${NODE_LOCAL_SSDS_EXT:- } )
You can’t perform that action at this time.
0 commit comments