This project provide a simple way to deploy Kubernetes cluster. This project is provided by Soliyte team, and it is based on kubeadm.
This project is only tested on Ubuntu 22.04 LTS, and it is not guaranteed to work on other versions of Ubuntu or other Linux distributions. Use at your own risk.
- At least 1 node with Ubuntu 22.04 installed.
- At least 2 CPUs and 2GB of RAM.
- At least 20GB of disk space.
- Internet connection.
- Root access.
- SSH access to the node.
- Clone this repository to your local machine.
git clone https://github.com/soliyte/kubernetes-installer.git
- Change directory to the cloned repository, and go to
src
directory.
cd kubernetes-installer/src
- Make the installation script executable.
chmod +x install.sh
- Run the installation script.
./install.sh
- Follow the instructions on the screen.
- After the installation is complete, you can access the Kubernetes cluster using
kubectl
.
kubectl get nodes
- Make the uninstallation script executable.
chmod +x uninstall.sh
- Run the uninstallation script.
./uninstall.sh
- Follow the instructions on the screen.
- After the uninstallation is complete, you can remove the cloned repository.
rm -rf kubernetes-installer
This project is licensed under the MIT License - see the LICENSE file for details.