Skip to content

soliyte/kubernetes-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Installer

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.

Prerequisites

  • 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.

Installation

  1. Clone this repository to your local machine.
git clone https://github.com/soliyte/kubernetes-installer.git
  1. Change directory to the cloned repository, and go to src directory.
cd kubernetes-installer/src
  1. Make the installation script executable.
chmod +x install.sh
  1. Run the installation script.
./install.sh
  1. Follow the instructions on the screen.
  2. After the installation is complete, you can access the Kubernetes cluster using kubectl.
kubectl get nodes

Uninstallation

  1. Make the uninstallation script executable.
chmod +x uninstall.sh
  1. Run the uninstallation script.
./uninstall.sh
  1. Follow the instructions on the screen.
  2. After the uninstallation is complete, you can remove the cloned repository.
rm -rf kubernetes-installer

License

This project is licensed under the MIT License - see the LICENSE file for details.