Zeabur Catalogv1

集群该装什么,先在 CI 里装过一次

Zeabur Catalog 是集群组件和应用模板的目录。每一项写明用哪个 chart、哪个版本、哪些 values,以及为什么这样选。CI 会安装并测试每一项。

组件和模板,都是可以读的数据

写下选择,测过才发版

  1. 写下选择

    一个能力和 upstream 一个文件,例如 components/ingress/traefik.yaml,写明 chart、版本、values 和原因。

  2. CI 测试

    CI 安装并测试每个组件和模板,也记录空闲时的内存和 CPU。

  3. 发版

    生成一份带签名的 bundle。Zeabur 读取它来建议集群缺什么,自己不会安装任何东西。

部分组件

能力Upstream单节点多节点
ingressTraefik推荐推荐
certificatescert-manager推荐推荐
metricsVictoriaMetrics、metrics-server推荐推荐
logsVictoriaLogs推荐推荐
volume-backupK8up、Velero可选可选
event-autoscalingKEDA可选推荐
replicated-storageLonghorn可选推荐
databasesCloudNativePG、MariaDB Operator、MOCO可选可选

读一个组件文件

每个组件都是这样:说明为什么推荐、许可证、依赖哪些能力,以及要装的 chart 和版本。

apiVersion: catalog.zeabur.com/v1
kind: Component
metadata:
  name: cert-manager
  description: >
    cert-manager is the standard Kubernetes certificate controller (CNCF
    graduated). Its issuers live in the cluster, so it renews certificates
    itself.
  license: Apache-2.0
  homepage: https://cert-manager.io
maturity: cncf-graduated
defaults:
  single-node: recommended
  multi-node: recommended
# Gateway API CRDs come with ingress; the controller exits without them.
requires: [ingress]

releases:
  - name: cert-manager
    namespace: cert-manager
    chart: oci://quay.io/jetstack/charts/cert-manager
    version: v1.21.2
    ...