16 lines
276 B
Bash
Executable File
16 lines
276 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source single.env
|
|
|
|
if [ $(id -u) != "0" ]; then
|
|
echo "Error: You must be root to run this script"
|
|
exit 1
|
|
fi
|
|
|
|
./init/init.sh
|
|
./docker/install.sh
|
|
./flannel/install.sh
|
|
./kubeadm/install.sh
|
|
./kubeadm/create_cluster.sh ${API_SERVER}
|
|
./ingress-nginx/install.sh
|