但我现在执行不了那个sh文件呢,会报错
tar (child): /home/lxd/k8s_install/k8s_install_pkg/cni-plugins-linux-amd64-v0.8.2.tgz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): /home/lxd/k8s_install/k8s_install_pkg/crictl-v1.17.0-linux-amd64.tar.gz:无法 open: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
./k8s_install.sh: 25: cd: can't cd to /home/lxd/k8s_install/k8s_install_pkg
cp: 无法获取'kubeadm' 的文件状态(stat): 没有那个文件或目录
cp: 无法获取'kubelet' 的文件状态(stat): 没有那个文件或目录
cp: 无法获取'kubectl' 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问'kubeadm': 没有那个文件或目录
chmod: 无法访问'kubectl': 没有那个文件或目录
chmod: 无法访问'kubelet': 没有那个文件或目录
cat: /home/lxd/k8s_install/k8s_install_pkg/kubelet.service: 没有那个文件或目录
cat: /home/lxd/k8s_install/k8s_install_pkg/10-kubeadm.conf: 没有那个文件或目录
Failed to enable unit: Unit file /etc/systemd/system/kubelet.service is masked.