From 06755634391940228d88027c0e6dbd100b5fe422 Mon Sep 17 00:00:00 2001 From: hsinhoyeh Date: Tue, 30 May 2023 12:22:07 +0800 Subject: [PATCH] chore(manifests): bump kubeadm version v1.23.12 upgrade longhron storage to v1.4.2 upgrade dockerd version to 23.0.4 use lower mtu for docker to avoid mtu issues in VMs --- hack/docker-install/install-docker-linux.sh | 9 ++++++--- hack/kubeadm/0.install_kubeadm.sh | 18 +++++++++++++++++- hack/kubeadm/1.generate_env_variables.sh | 2 +- hack/kubeadm/4.install_longhorn_storage.sh | 6 +++--- 4 files changed, 27 insertions(+), 8 deletions(-) diff --git a/hack/docker-install/install-docker-linux.sh b/hack/docker-install/install-docker-linux.sh index ad31b24..d85b384 100755 --- a/hack/docker-install/install-docker-linux.sh +++ b/hack/docker-install/install-docker-linux.sh @@ -6,6 +6,8 @@ if (( $EUID != 0 )); then exit fi +VERSION_STRING=5:23.0.4-1~ubuntu.20.04~focal + apt-get update apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - @@ -14,7 +16,7 @@ add-apt-repository -y \ $(lsb_release -cs) \ stable" apt-get update -apt-get install -y docker-ce docker-ce-cli containerd.io +apt-get install -y docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io echo "===============================" echo "installation completed, please add your user into docker group, something like" @@ -24,11 +26,12 @@ echo "****" echo "for user ubuntu" echo "And try to logout/login again, and see if `docker ps` works" -# noted(hsiny): use low mtu as harvester use 1450 for default nic +# noted(hsiny): use low mtu 1400 to enforce this won't hit any router limits # see issue https://github.com/harvester/harvester/issues/3822 tee /etc/docker/daemon.json <