offline-kubernetes-install/single.sh

15 lines
255 B
Bash
Raw Normal View History

2023-09-12 17:40:05 +08:00
#!/bin/bash
2023-09-12 22:55:48 +08:00
source single.env
2023-09-12 17:40:05 +08:00
if [ $(id -u) != "0" ]; then
echo "Error: You must be root to run this script"
exit 1
fi
2024-01-30 16:19:24 +08:00
./init/init.sh
2024-01-31 08:22:52 +08:00
./docker/install.sh
./kubeadm/install.sh
2024-01-30 16:19:24 +08:00
./kubeadm/create_cluster.sh ${API_SERVER}
./ingress-nginx/install.sh