部署 GreptimeDB Operator
概述
GreptimeDB Kubernetes Operator 简化了在私有和公共云基础设施上部署 GreptimeDB 的过程。本指南将引导你在 Kubernetes 集群上安装最新的稳定版本的 GreptimeDB Operator。该 Operator 利用 自定义资源定义 (CRD) 将 GreptimeDB 表示为 Kubernetes 对象。
先决条件
- Helm (请使用与你的 Kubernetes API 版本相匹配的版本)
使用 Helm Charts 安装 GreptimeDB Operator
GreptimeDB 提供了一个 兼容 Helm 的仓库,便于部署。按照以下步骤使用 Helm 安装 Operator:
添加 GreptimeDB Operator 仓库
首先,添加 GreptimeDB Operator 的 Helm 仓库:
helm repo add greptime https://greptimeteam.github.io/helm-charts/
搜索 Operator chart 以验证仓库:
helm search repo greptimedb-operator
你应该看到类似如下的输出:
NAME CHART VERSION APP VERSION DESCRIPTION
greptime/greptimedb-operator 0.2.3 0.1.0-alpha.29 The greptimedb-operator Helm chart for Kubernetes.