mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #108054 from bobbypage/issue_107830
cluster/ - Configure containerd only if necessary
This commit is contained in:
commit
8472892a9e
@ -3442,7 +3442,12 @@ function main() {
|
||||
# stop docker if it is present as we want to use just containerd
|
||||
log-wrap 'StopDocker' systemctl stop docker || echo "unable to stop docker"
|
||||
fi
|
||||
log-wrap 'SetupContainerd' setup-containerd
|
||||
|
||||
if [[ ! -e "/etc/profile.d/containerd_env.sh" ]]; then
|
||||
log-wrap 'SetupContainerd' setup-containerd
|
||||
else
|
||||
echo "Skipping SetupContainerd step because containerd has already been setup by containerd's configure.sh script"
|
||||
fi
|
||||
|
||||
log-start 'SetupKubePodLogReadersGroupDir'
|
||||
if [[ -n "${KUBE_POD_LOG_READERS_GROUP:-}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user