File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -822,10 +822,6 @@ function start_kubelet {
822
822
fi
823
823
824
824
mkdir -p " /var/lib/kubelet" & > /dev/null || sudo mkdir -p " /var/lib/kubelet"
825
- container_runtime_endpoint_args=()
826
- if [[ -n " ${CONTAINER_RUNTIME_ENDPOINT} " ]]; then
827
- container_runtime_endpoint_args=(" --container-runtime-endpoint=${CONTAINER_RUNTIME_ENDPOINT} " )
828
- fi
829
825
830
826
image_service_endpoint_args=()
831
827
if [[ -n " ${IMAGE_SERVICE_ENDPOINT} " ]]; then
@@ -840,7 +836,6 @@ function start_kubelet {
840
836
" ${cloud_config_arg[@]} "
841
837
" --bootstrap-kubeconfig=${CERT_DIR} /kubelet.kubeconfig"
842
838
" --kubeconfig=${CERT_DIR} /kubelet-rotated.kubeconfig"
843
- ${container_runtime_endpoint_args[@]+" ${container_runtime_endpoint_args[@]} " }
844
839
${image_service_endpoint_args[@]+" ${image_service_endpoint_args[@]} " }
845
840
${KUBELET_FLAGS}
846
841
)
@@ -864,6 +859,7 @@ address: "${KUBELET_HOST}"
864
859
cgroupDriver: "${CGROUP_DRIVER} "
865
860
cgroupRoot: "${CGROUP_ROOT} "
866
861
cgroupsPerQOS: ${CGROUPS_PER_QOS}
862
+ containerRuntimeEndpoint: ${CONTAINER_RUNTIME_ENDPOINT}
867
863
cpuCFSQuota: ${CPU_CFS_QUOTA}
868
864
enableControllerAttachDetach: ${ENABLE_CONTROLLER_ATTACH_DETACH}
869
865
localStorageCapacityIsolation: ${LOCAL_STORAGE_CAPACITY_ISOLATION}
You can’t perform that action at this time.
0 commit comments