Commit 2a154b49 authored by Wen Wei Li's avatar Wen Wei Li

debug

parent 3b570c24
......@@ -229,7 +229,7 @@ copy_host_file(){
fi
}
install_k8s_node{
install_k8s_node(){
export KUBE_VERSION=v1.28
eval "DEBIAN_FRONTEND=noninteractive apt-get update -y"
# apt-transport-https may be a dummy package; if so, you can skip that package
......@@ -257,10 +257,12 @@ main(){
prerequisite
install_cri
if [[ $2 == "cp" ]]; then
if ! command -v kubeadm &>/dev/null; then
install_k8s
echo "COPY K8S Config"
copy_k8s_config
echo "Finish Setup K8S"
fi
else
install_k8s_node
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment