KubeKey defines task pipelines for cluster operations such as installation, scaling, uninstallation, etc. And uses SSH and Kubernetes Api to perform corresponding tasks on hosts and cluster with host grouping and configuration management.
Action
: The most basic unit. It represents one operation performed on one node;Task
: The one that managesAction
. It contains fields such asAction
,Hosts
(The hosts where the action will be executed),Retry
,Parallel
, etc. In short, it represents executing anAction
on the specified hosts as required;Module
: A unit that contains one or more relatedTask
.Module
is a module with specific and complete functions;Pipeline
: It containsModules
combined in a certain order. It is the complete execution process of a KubeKey command. For example,Create Cluster Pipeline
,Add Nodes Pipeline
and so on.
All plugins which are installed by yaml or chart can be kubernetes' addons. So the addons configuration support both yaml and chart.
The task of installing KubeSphere is added to the task pipeline of the installation cluster by default. So KubeSphere can be deployed in two ways:
- Using the command
kk create cluster --with-kubesphere
- Configure KubeSphere as a addon in the configuration file.
Notice: Installation of KubeSphere using ks-installer.
git clone https://github.com/kubesphere/kubekey.git
cd kubekey
make kk