Kubeaver is a tool for quickly deploying high-availability Kubernetes (K8s) clusters, supporting online(in progress) and offline methods. The project is based on kubespray, leveraging Ansible to automate deployment tasks, and provides a user-friendly graphical user interface.
Advantages of Kubeaver:
-
Offline deployment capability: It can deploy K8s clusters without internet access, completely isolating network dependencies. Users can download offline packages and import them into Kubeaver for one-click deployment.
-
Basic cluster management operations: Use Kubeaver to deploy, upgrade, scale, or reset clusters.
-
customizable cluster configuration: Choose custom components for your cluster, such as network plugins and applications, and configure advanced parameters.
-
Real-time task progress tracking: View task stages and time statistics.
文档语言:简体中文
Install Docker on the host where you want to install Kubeaver using the official Docker guide: Install Docker Engine. After installation, run the docker compose version command to ensure Docker Compose is correctly installed. If not, manually install Docker Compose.
Download Kubeaver code:
git clone https://github.com/eb-k8s/kubeaver.git
Start Kubeaver using Docker Compose:
# Switch to the directory containing the Docker Compose file
cd ./deploy
# Start Kubeaver
docker compose up -d
After this, Kubeaver will be successfully installed on your host. You can now access it via port 80.
Before deploying a Kubernetes cluster, you need to import the base package and extension packages according to your requirements. The base package contains essential components required for K8s cluster deployment, including the basic Flannel network plugin. If you intend to use Calico, you will need to import the Calico extension package. It’s important to note that you must import the corresponding operating system extension package based on the OS of your target cluster nodes.
Below shows how to download the Kubernetes base package for version v1.27.10 and the extension package for CentOS 7 operating system:
# download base package
docker pull ghcr.io/eb-k8s/kubeaver/kubeaver_offline:v1.27.10
docker run -d ghcr.io/eb-k8s/kubeaver/kubeaver_offline:v1.27.10 --name kubeaver_offline
docker cp kubeaver_offline:/root/base_k8s_v1.27.10.tgz .
# download os package
docker pull ghcr.io/eb-k8s/kubeaver/oslib_centos:v1.0
docker run -d ghcr.io/eb-k8s/kubeaver/oslib_centos:v1.0 --name kubeaver_oslib
docker cp kubeaver_oslib:/root/extend_CentOS_7_Core.tgz .
You can then obtain the offline package base_k8s_v1.27.10.tgz、extend_CentOS_7_Core.tgz and import it into Kubeaver.
Click here to view more detailed offline package download methods: Offline package download
- Add the hosts where you want to deploy the K8s cluster in the Host Management section.
- In the Cluster Management interface, create your cluster by selecting the cluster version, network plugin, and the hosts included in the cluster.
- Click Save, then select the newly created cluster in the Cluster Management interface and click Deploy to start the deployment.
- View the status and progress of tasks in the Task Queue or check running/completed tasks in the Task History.
- Add Host
- Create Cluster
- Deploy Cluster
- Cluster Management
- Node Management
- Offline Package Management
- Ubuntu 22.04
- CentOS 7
- Rocky Linux 9
- openEuler 22.03
- Core
- Network Plugin
- Application
- Control Plane
- Memory: 2 GB
- Worker Node
- Memory: 1 GB