Skip to content

About

This repository provides installation scripts and configuration files for deploying the CSGHub instance, includes Helm charts and Docker Compose scripts to streamline the deployment process in various environments.

Resources

Stars

22 stars

Watchers

3 watching

Forks

Repository files navigation

CSGHub Helm Charts

Helm charts for deploying CSGHub and its companion services on Kubernetes.

Overview

CSGHub is an open-source platform for managing Large Language Model assets — datasets, spaces, code, and models — via web UI, Git CLI, SDK, or chatbot. This repository hosts the charts that package CSGHub and the surrounding data, agent, and runtime services into a single deployable stack.

The csghub chart is an umbrella chart that bundles CSGHub and its optional companion services, each toggleable so you can deploy only what you need.

Charts

Chart Description
csghub Umbrella chart. Deploys the full CSGHub platform with all required components.
dataflow OpenCSG dataflow — data processing platform built on large model technology.
agentichub Agent module for developing, configuring, running, and collaborating on AI agents.
agent-sandbox Isolated, stateful singleton workloads for AI agent runtimes.
agent-substrate Agent Substrate v1.0.0 control plane, node agents, and WorkerPools.
runner Deploys and manages application instances inside a Kubernetes cluster.
common Library chart with reusable templates and standardized configurations.

Requirements

  • Kubernetes (validated against 1.32 in ct.yaml)
  • Helm v3 or v4
  • Optional: helm-unittest plugin, chart-testing (ct), yamllint, lefthook

Quick Start

Add the chart repository and install the umbrella chart:

helm repo add csghub https://charts.opencsg.com/csghub
helm repo update

helm install csghub csghub/csghub \
  --namespace csghub --create-namespace \
  -f custom-values.yaml

custom-values.yaml is where you override image tags, dependencies, and per-component toggles. See each chart's values.yaml for the full set of options.

For the full walkthrough see the Quick install overview.

Sub-chart selection

Each component under csghub can be turned on or off independently via top-level flags. Out of the box the chart enables runner, dataflow, agentichub, prometheus, and envoy; toggle off what you don't need:

# custom-values.yaml
dataflow:
  enabled: true
runner:
  enabled: true
agentichub:
  enabled: false
reloader:
  enabled: true
prometheus:
  enabled: false

See each chart's values.yaml for the full set of fields.

Development

Local hooks (via lefthook) cover the common checks. Install once:

lefthook install
Command What it does
lefthook run pre-commit Builds chart deps, dry-runs templates, runs helm-unittest, validates YAML.
lefthook run pre-push Runs ct lint against every chart.
helm dependency build charts/<name> Refreshes vendored sub-charts under charts/<name>/charts/.
helm unittest charts/<name> --with-subchart=false Runs unit tests for a single chart.

Before opening a PR, make sure the chart version in Chart.yaml is bumped whenever templates change (check-version-increment is enforced).

Docs

Issues

For version upgrades, data migration, or other support, please open an issue.

License

Apache 2.0. See LICENSE.

About

This repository provides installation scripts and configuration files for deploying the CSGHub instance, includes Helm charts and Docker Compose scripts to streamline the deployment process in various environments.

Resources

Stars

22 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages