weizhoublue / kubean

:seedling: Kubernetes lifecycle management operator based on kubespray.

Home Page:https://kubean-io.github.io/website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌱 KuBean

trackgit-views

kubean is a cluster lifecycle management tool based on kubespray.

main workflow codecov CII Best Practices kubean coverage kubean coverage license Go Report Card


βš“ Awesome features

  • Simplicity: Deploying of Kubean and powerful lifecycle management of kubernetes cluster implementing by declarative API.
  • Offline Supported: Offline packages(os-pkgs, images, binarys) are released with the release. You won't have to worry about how to gather all the resources you need.
  • Compatibility: Multi-arch delivery Supporting. Such as AMD, ARM with common Linux distributions. Also include Kunpeng with Kylin.
  • Expandability: Allowing custom actions be added to cluster without any changes for Kubespray.

πŸ„β€β™‚οΈ Quick Start

1. Ensure that a Kubernetes Cluster exists and Helm installed

2. Deploy Kubean-Operator

$ 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'

3. Start ClusterOperation for cluster.yml playbook

We cloud use the example in folder artifacts/demo which uses online resources to install k8s cluster.

  1. cd resources path
    $ cd artifacts/
  2. modify demo/hosts-conf-cm.yml by replacing IP1, IP2... with the real ip where we want to install k8s cluster
  3. start kubeanClusterOps which will start the kubespray job
    $ kubectl apply -f demo/
  4. check the kubespray job status
    $ kubectl get job -n kubean-system

quick_start_image

πŸ“– Documents

About

:seedling: Kubernetes lifecycle management operator based on kubespray.

https://kubean-io.github.io/website/

License:Apache License 2.0


Languages

Language:Go 72.1%Language:Shell 22.9%Language:Python 2.5%Language:Makefile 0.8%Language:Dockerfile 0.7%Language:Ruby 0.6%Language:Smarty 0.4%