Kstoneetcd 一站式治理平臺(tái)
Kstone 是一個(gè)針對(duì) etcd 的全方位運(yùn)維解決方案,提供集群管理(關(guān)聯(lián)已有集群、創(chuàng)建新集群等)、監(jiān)控、備份、巡檢、數(shù)據(jù)遷移、數(shù)據(jù)可視化、智能診斷等一系列特性。
Kstone 將幫助你高效管理 etcd 集群,顯著降低運(yùn)維成本、及時(shí)發(fā)現(xiàn)潛在隱患、提升 k8s etcd 存儲(chǔ)的穩(wěn)定性和用戶體驗(yàn)。
特性
Kstone 是一個(gè) etcd 的治理平臺(tái),它有以下特點(diǎn).
- 輕量,安裝方便
- 支持導(dǎo)入已有集群、創(chuàng)建新etcd集群
- 支持Prometheus監(jiān)控,內(nèi)置豐富的etcd Grafana面板圖
- 支持多種數(shù)據(jù)備份方式(分鐘級(jí)備份到對(duì)象存儲(chǔ)、部署Learner實(shí)時(shí)備份)
- 支持多種巡檢策略(數(shù)據(jù)一致性、健康度、寫請(qǐng)求、資源對(duì)象數(shù)等)
- 支持可視化查看etcd數(shù)據(jù)(特別支持Kubernetes資源對(duì)象數(shù)據(jù)的可視化查看)
- 極大簡化運(yùn)維成本,在集群導(dǎo)入、創(chuàng)建完成時(shí),即可自動(dòng)開啟監(jiān)控、備份、巡檢等特性
核心架構(gòu)
Kstone 由5個(gè)組件組成:
- kstone-etcdcluster-controller
- kstone-etcd-operator
- kstone-etcdinspection-controller
- kstone-api
- kstone-dashboard
組件
kstone-etcdcluster-controller
- 關(guān)聯(lián)已有集群,如已有的 kubernetes 集群 etcd
- 根據(jù) EtcdCluster 資源所描述的集群元信息,調(diào)用 ClusterProvider 創(chuàng)建、更新、刪除 etcd 集群
- 根據(jù) EtcdCluster 資源所描述的特性開關(guān),開啟或關(guān)閉監(jiān)控、備份、巡檢等特性(創(chuàng)建 EtcdInspection 資源)
kstone-etcdinspection-controller
- 實(shí)時(shí)監(jiān)聽 EtcdInspection 資源,調(diào)用后端 FeatureProvider 執(zhí)行巡檢
kstone-api
- 提供了一系列 etcd 集群管理的 api 給 web 前端使用
kstone-dashboard
Kstone 提供的 WEB 管理系統(tǒng)如下:
kstone-etcd-operator
kstone-etcd-operator 提供豐富的集群管理能力(此組件也即將開源)。
安裝
請(qǐng)閱讀部署文檔, 你可通過 Helm 快速安裝 Kstone。
開發(fā)
構(gòu)建
mkdir -p ~/tkestack
cd ~/tkestack
git clone https://github.com/tkestack/kstone
cd kstone
make
評(píng)論
圖片
表情
