kubean is a cluster lifecycle management tool based on kubespray.
helm repo add kubean-io https://kubean-io.github.io/kubean-helm-chart/
helm install kubean kubean-io/kubean --create-namespace -n kubean-system
Then check kubean-operator status by kubectl get pods -n kubean-system | grep 'kubean'
.
We cloud use the example in folder artifacts/demo
which uses online resources to install k8s cluster.
cd artifacts
- modify
demo/hosts-conf-cm.yml
by replacingIP1
,IP2
... with the real ip where we want to install k8s cluster kubectl apply -f demo
to start kubeanClusterOps which will start the kubespray jobkubectl get job -n kubean-system
to check the kubespray job status