From 990b40d730ba72e3c311e680a9406df1fe1a2bc4 Mon Sep 17 00:00:00 2001 From: Sun-ZhenXing <1006925066@qq.com> Date: Thu, 19 Feb 2026 23:04:16 +0800 Subject: [PATCH] feat: add more services --- .github/instructions/base.instructions.md | 2 +- src/duckdb/Makefile | 16 +++++++ src/duckdb/README.md | 51 +++++++++++++++++++++++ src/duckdb/README.zh.md | 51 +++++++++++++++++++++++ src/duckdb/values.yaml | 38 +++++++++++++++++ src/flink/Makefile | 16 +++++++ src/flink/README.md | 29 +++++++++++++ src/flink/README.zh.md | 29 +++++++++++++ src/flink/values.yaml | 20 +++++++++ src/gitea-runner/Makefile | 16 +++++++ src/gitea-runner/README.md | 37 ++++++++++++++++ src/gitea-runner/README.zh.md | 37 ++++++++++++++++ src/gitea-runner/values.yaml | 38 +++++++++++++++++ src/gitea/Makefile | 16 +++++++ src/gitea/README.md | 34 +++++++++++++++ src/gitea/README.zh.md | 34 +++++++++++++++ src/gitea/values.yaml | 32 ++++++++++++++ src/gitlab-runner/Makefile | 16 +++++++ src/gitlab-runner/README.md | 35 ++++++++++++++++ src/gitlab-runner/README.zh.md | 35 ++++++++++++++++ src/gitlab-runner/values.yaml | 29 +++++++++++++ src/gitlab/Makefile | 16 +++++++ src/gitlab/README.md | 40 ++++++++++++++++++ src/gitlab/README.zh.md | 40 ++++++++++++++++++ src/gitlab/values.yaml | 27 ++++++++++++ src/grafana/Makefile | 16 +++++++ src/grafana/README.md | 36 ++++++++++++++++ src/grafana/README.zh.md | 36 ++++++++++++++++ src/grafana/values.yaml | 26 ++++++++++++ src/harbor/Makefile | 16 +++++++ src/harbor/README.md | 36 ++++++++++++++++ src/harbor/README.zh.md | 36 ++++++++++++++++ src/harbor/values.yaml | 22 ++++++++++ src/hbase/Makefile | 16 +++++++ src/hbase/README.md | 32 ++++++++++++++ src/hbase/README.zh.md | 32 ++++++++++++++ src/hbase/values.yaml | 22 ++++++++++ src/kong/Makefile | 16 +++++++ src/kong/README.md | 38 +++++++++++++++++ src/kong/README.zh.md | 38 +++++++++++++++++ src/kong/values.yaml | 27 ++++++++++++ src/litellm/Makefile | 16 +++++++ src/litellm/README.md | 28 +++++++++++++ src/litellm/README.zh.md | 28 +++++++++++++ src/litellm/values.yaml | 22 ++++++++++ src/loki/Makefile | 16 +++++++ src/loki/README.md | 29 +++++++++++++ src/loki/README.zh.md | 29 +++++++++++++ src/loki/values.yaml | 18 ++++++++ src/mlflow/Makefile | 16 +++++++ src/mlflow/README.md | 34 +++++++++++++++ src/mlflow/README.zh.md | 34 +++++++++++++++ src/mlflow/values.yaml | 26 ++++++++++++ src/mysql/Makefile | 16 +++++++ src/mysql/README.md | 33 +++++++++++++++ src/mysql/README.zh.md | 33 +++++++++++++++ src/mysql/values.yaml | 19 +++++++++ src/nacos/Makefile | 16 +++++++ src/nacos/README.md | 36 ++++++++++++++++ src/nacos/README.zh.md | 36 ++++++++++++++++ src/nacos/values.yaml | 21 ++++++++++ src/neo4j/Makefile | 16 +++++++ src/neo4j/README.md | 34 +++++++++++++++ src/neo4j/README.zh.md | 34 +++++++++++++++ src/neo4j/values.yaml | 17 ++++++++ src/open-webui/Makefile | 16 +++++++ src/open-webui/README.md | 34 +++++++++++++++ src/open-webui/README.zh.md | 34 +++++++++++++++ src/open-webui/values.yaml | 19 +++++++++ src/prometheus/Makefile | 16 +++++++ src/prometheus/README.md | 34 +++++++++++++++ src/prometheus/README.zh.md | 34 +++++++++++++++ src/prometheus/values.yaml | 14 +++++++ src/pulsar/Makefile | 16 +++++++ src/pulsar/README.md | 32 ++++++++++++++ src/pulsar/README.zh.md | 32 ++++++++++++++ src/pulsar/values.yaml | 19 +++++++++ 77 files changed, 2085 insertions(+), 1 deletion(-) create mode 100644 src/duckdb/Makefile create mode 100644 src/duckdb/README.md create mode 100644 src/duckdb/README.zh.md create mode 100644 src/duckdb/values.yaml create mode 100644 src/flink/Makefile create mode 100644 src/flink/README.md create mode 100644 src/flink/README.zh.md create mode 100644 src/flink/values.yaml create mode 100644 src/gitea-runner/Makefile create mode 100644 src/gitea-runner/README.md create mode 100644 src/gitea-runner/README.zh.md create mode 100644 src/gitea-runner/values.yaml create mode 100644 src/gitea/Makefile create mode 100644 src/gitea/README.md create mode 100644 src/gitea/README.zh.md create mode 100644 src/gitea/values.yaml create mode 100644 src/gitlab-runner/Makefile create mode 100644 src/gitlab-runner/README.md create mode 100644 src/gitlab-runner/README.zh.md create mode 100644 src/gitlab-runner/values.yaml create mode 100644 src/gitlab/Makefile create mode 100644 src/gitlab/README.md create mode 100644 src/gitlab/README.zh.md create mode 100644 src/gitlab/values.yaml create mode 100644 src/grafana/Makefile create mode 100644 src/grafana/README.md create mode 100644 src/grafana/README.zh.md create mode 100644 src/grafana/values.yaml create mode 100644 src/harbor/Makefile create mode 100644 src/harbor/README.md create mode 100644 src/harbor/README.zh.md create mode 100644 src/harbor/values.yaml create mode 100644 src/hbase/Makefile create mode 100644 src/hbase/README.md create mode 100644 src/hbase/README.zh.md create mode 100644 src/hbase/values.yaml create mode 100644 src/kong/Makefile create mode 100644 src/kong/README.md create mode 100644 src/kong/README.zh.md create mode 100644 src/kong/values.yaml create mode 100644 src/litellm/Makefile create mode 100644 src/litellm/README.md create mode 100644 src/litellm/README.zh.md create mode 100644 src/litellm/values.yaml create mode 100644 src/loki/Makefile create mode 100644 src/loki/README.md create mode 100644 src/loki/README.zh.md create mode 100644 src/loki/values.yaml create mode 100644 src/mlflow/Makefile create mode 100644 src/mlflow/README.md create mode 100644 src/mlflow/README.zh.md create mode 100644 src/mlflow/values.yaml create mode 100644 src/mysql/Makefile create mode 100644 src/mysql/README.md create mode 100644 src/mysql/README.zh.md create mode 100644 src/mysql/values.yaml create mode 100644 src/nacos/Makefile create mode 100644 src/nacos/README.md create mode 100644 src/nacos/README.zh.md create mode 100644 src/nacos/values.yaml create mode 100644 src/neo4j/Makefile create mode 100644 src/neo4j/README.md create mode 100644 src/neo4j/README.zh.md create mode 100644 src/neo4j/values.yaml create mode 100644 src/open-webui/Makefile create mode 100644 src/open-webui/README.md create mode 100644 src/open-webui/README.zh.md create mode 100644 src/open-webui/values.yaml create mode 100644 src/prometheus/Makefile create mode 100644 src/prometheus/README.md create mode 100644 src/prometheus/README.zh.md create mode 100644 src/prometheus/values.yaml create mode 100644 src/pulsar/Makefile create mode 100644 src/pulsar/README.md create mode 100644 src/pulsar/README.zh.md create mode 100644 src/pulsar/values.yaml diff --git a/.github/instructions/base.instructions.md b/.github/instructions/base.instructions.md index 4e60091..238ac2b 100644 --- a/.github/instructions/base.instructions.md +++ b/.github/instructions/base.instructions.md @@ -41,6 +41,6 @@ When contributing to or maintaining this project, you must adhere to the followi ## 3. Summary & Attention Points * **User Experience:** The ultimate goal is simplicity. A user should not need to hunt for Helm flags; they should just run `make install` and get a sensible default deployment. -* **Source Quality:** Priority is given to official or widely trusted community Charts (like Bitnami) to ensure stability. +* **Source Quality:** Priority is given to official or widely trusted community Charts (Prohibited from using Bitnami) to ensure stability. * **Localization:** Do not skip the Chinese documentation (`README.zh.md`); it is a strict requirement for this project. * **Consistency:** Ensure all Makefiles follow the same variable naming convention defined in `src/_template` to prevent breaking the inheritance chain. diff --git a/src/duckdb/Makefile b/src/duckdb/Makefile new file mode 100644 index 0000000..c1f787f --- /dev/null +++ b/src/duckdb/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= duckdb +HELM_APPLICATION_NAME ?= duckdb +HELM_NAMESPACE ?= duckdb +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= jupyterhub +HELM_REPO_URL ?= https://hub.jupyter.org/helm-chart/ +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/jupyterhub +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/duckdb/README.md b/src/duckdb/README.md new file mode 100644 index 0000000..e92cff6 --- /dev/null +++ b/src/duckdb/README.md @@ -0,0 +1,51 @@ +# DuckDB (via JupyterHub) + +## Introduction + +DuckDB is an in-process SQL OLAP database management system. Since DuckDB is an embedded database and doesn't have a server mode, this deployment uses JupyterHub with DuckDB pre-installed to provide a notebook environment for data analysis with DuckDB. + +## Installation + +To install JupyterHub with DuckDB support, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n duckdb +``` + +To access JupyterHub: + +```bash +kubectl port-forward svc/proxy-public 8080:80 -n duckdb +``` + +Then open in your browser. + +## Using DuckDB + +In a Jupyter notebook, you can use DuckDB with Python: + +```python +import duckdb + +# Connect to DuckDB +con = duckdb.connect() + +# Run SQL queries +con.execute("SELECT 42").fetchall() + +# Query data files directly +con.execute("SELECT * FROM 'data.parquet' LIMIT 10").fetchdf() +``` + +## Documentation + +- [Official DuckDB Documentation](https://duckdb.org/docs/) +- [JupyterHub Helm Chart Source](https://github.com/jupyterhub/helm-chart) diff --git a/src/duckdb/README.zh.md b/src/duckdb/README.zh.md new file mode 100644 index 0000000..a3374d8 --- /dev/null +++ b/src/duckdb/README.zh.md @@ -0,0 +1,51 @@ +# DuckDB (通过 JupyterHub) + +## 简介 + +DuckDB 是一个进程内 SQL OLAP 数据库管理系统。由于 DuckDB 是嵌入式数据库,没有服务器模式,此部署使用预装了 DuckDB 的 JupyterHub 来提供用于 DuckDB 数据分析的笔记本环境。 + +## 安装 + +要安装支持 DuckDB 的 JupyterHub,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n duckdb +``` + +访问 JupyterHub: + +```bash +kubectl port-forward svc/proxy-public 8080:80 -n duckdb +``` + +然后在浏览器中打开 。 + +## 使用 DuckDB + +在 Jupyter 笔记本中,您可以使用 Python 使用 DuckDB: + +```python +import duckdb + +# 连接到 DuckDB +con = duckdb.connect() + +# 运行 SQL 查询 +con.execute("SELECT 42").fetchall() + +# 直接查询数据文件 +con.execute("SELECT * FROM 'data.parquet' LIMIT 10").fetchdf() +``` + +## 文档 + +- [官方 DuckDB 文档](https://duckdb.org/docs/) +- [JupyterHub Helm Chart 源码](https://github.com/jupyterhub/helm-chart) diff --git a/src/duckdb/values.yaml b/src/duckdb/values.yaml new file mode 100644 index 0000000..a5744c1 --- /dev/null +++ b/src/duckdb/values.yaml @@ -0,0 +1,38 @@ +# JupyterHub Helm Chart Values for DuckDB environment +# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/blob/main/jupyterhub/values.yaml + +# Default values for duckdb/jupyterhub +# This is a YAML-formatted file + +hub: + config: + Authenticator: + admin_users: + - admin + JupyterHub: + admin_access: true + authenticator_class: dummy + password: admin + services: {} + baseUrl: / + +proxy: + service: + type: ClusterIP + +singleuser: + image: + name: jupyter/datascience-notebook + tag: latest + defaultUrl: /lab + extraEnv: + - name: JUPYTER_ENABLE_LAB + value: yes + cmd: jupyterhub-singleuser + storage: + type: dynamic + capacity: 10Gi + +prePuller: + hook: + enabled: false diff --git a/src/flink/Makefile b/src/flink/Makefile new file mode 100644 index 0000000..6fd166c --- /dev/null +++ b/src/flink/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= flink +HELM_APPLICATION_NAME ?= flink +HELM_NAMESPACE ?= flink +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= flink-operator +HELM_REPO_URL ?= https://downloads.apache.org/flink/flink-kubernetes-operator-1.9.0/ +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/flink-operator +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/flink/README.md b/src/flink/README.md new file mode 100644 index 0000000..6878049 --- /dev/null +++ b/src/flink/README.md @@ -0,0 +1,29 @@ +# Apache Flink + +## Introduction + +Apache Flink is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams. Flink has been designed to run in all common cluster environments, perform computations at in-memory speed and at any scale. + +## Installation + +To install Apache Flink Kubernetes Operator, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n flink +``` + +To deploy a Flink job, create a FlinkDeployment custom resource. + +## Documentation + +- [Official Flink Documentation](https://nightlies.apache.org/flink/flink-docs-stable/) +- [Flink Kubernetes Operator Documentation](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-stable/) +- [Helm Chart Source](https://github.com/apache/flink-kubernetes-operator) diff --git a/src/flink/README.zh.md b/src/flink/README.zh.md new file mode 100644 index 0000000..0e32055 --- /dev/null +++ b/src/flink/README.zh.md @@ -0,0 +1,29 @@ +# Apache Flink + +## 简介 + +Apache Flink 是一个框架和分布式处理引擎,用于在无界和有界数据流上进行状态计算。Flink 旨在在所有常见的集群环境中运行,以内存速度和任何规模执行计算。 + +## 安装 + +要安装 Apache Flink Kubernetes Operator,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n flink +``` + +要部署 Flink 作业,请创建 FlinkDeployment 自定义资源。 + +## 文档 + +- [官方 Flink 文档](https://nightlies.apache.org/flink/flink-docs-stable/) +- [Flink Kubernetes Operator 文档](https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-stable/) +- [Helm Chart 源码](https://github.com/apache/flink-kubernetes-operator) diff --git a/src/flink/values.yaml b/src/flink/values.yaml new file mode 100644 index 0000000..3a7d5da --- /dev/null +++ b/src/flink/values.yaml @@ -0,0 +1,20 @@ +# Flink Kubernetes Operator Helm Chart Values +# https://github.com/apache/flink-kubernetes-operator/blob/main/helm/flink-kubernetes-operator/values.yaml + +# Default values for flink-operator +# This is a YAML-formatted file + +image: + repository: flink-kubernetes-operator + pullPolicy: IfNotPresent + +replicas: 1 + +webhook: + create: true + +defaultConfiguration: + create: true + flink-conf.yaml: | + kubernetes.operator.metrics.enabled: true + kubernetes.operator.metrics.port: 9999 diff --git a/src/gitea-runner/Makefile b/src/gitea-runner/Makefile new file mode 100644 index 0000000..3a03eda --- /dev/null +++ b/src/gitea-runner/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= gitea-runner +HELM_APPLICATION_NAME ?= gitea-runner +HELM_NAMESPACE ?= gitea-runner +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= gitea-charts +HELM_REPO_URL ?= https://dl.gitea.com/charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/actions +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/gitea-runner/README.md b/src/gitea-runner/README.md new file mode 100644 index 0000000..8e2e81d --- /dev/null +++ b/src/gitea-runner/README.md @@ -0,0 +1,37 @@ +# Gitea Actions Runner + +## Introduction + +Gitea Actions Runner (act_runner) is the runner for Gitea Actions. This Helm chart deploys the Gitea act-runners alongside a running Gitea instance. + +## Installation + +To install Gitea Actions Runner, run: + +```bash +make install +``` + +## Configuration + +Before installation, you need to configure the runner in values.yaml: + +```yaml +statefulset: + actRunner: + config: | + # Your Gitea instance URL and registration token +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n gitea-runner +``` + +## Documentation + +- [Official Gitea Documentation](https://docs.gitea.com/usage/actions/overview) +- [Helm Chart Source](https://gitea.com/gitea/helm-actions) diff --git a/src/gitea-runner/README.zh.md b/src/gitea-runner/README.zh.md new file mode 100644 index 0000000..ef73f28 --- /dev/null +++ b/src/gitea-runner/README.zh.md @@ -0,0 +1,37 @@ +# Gitea Actions Runner + +## 简介 + +Gitea Actions Runner (act_runner) 是 Gitea Actions 的运行器。此 Helm chart 在正在运行的 Gitea 实例旁边部署 Gitea act-runners。 + +## 安装 + +要安装 Gitea Actions Runner,请运行: + +```bash +make install +``` + +## 配置 + +在安装之前,您需要在 values.yaml 中配置 runner: + +```yaml +statefulset: + actRunner: + config: | + # 您的 Gitea 实例 URL 和注册令牌 +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n gitea-runner +``` + +## 文档 + +- [官方 Gitea 文档](https://docs.gitea.com/usage/actions/overview) +- [Helm Chart 源码](https://gitea.com/gitea/helm-actions) diff --git a/src/gitea-runner/values.yaml b/src/gitea-runner/values.yaml new file mode 100644 index 0000000..f919d76 --- /dev/null +++ b/src/gitea-runner/values.yaml @@ -0,0 +1,38 @@ +# Gitea Actions Helm Chart Values +# https://gitea.com/gitea/helm-actions/src/branch/main/values.yaml + +# Default values for gitea-actions +# This is a YAML-formatted file + +statefulset: + replicaCount: 1 + timezone: Etc/UTC + + actRunner: + registry: docker.gitea.com + repository: act_runner + tag: 0.2.13 + pullPolicy: IfNotPresent + config: | + log: + level: info + runner: + file: .runner + capacity: 1 + timeout: 1h + shutdown_timeout: 0s + cache: + enabled: true + dir: "/root/.cache/actcache" + container: + network: "" + privileged: false + options: "" + valid_volumes: [] + host: + workdir_parent: "/root/.cache/act" + + dind: + registry: '' + repository: docker + tag: 28.3.3-dind diff --git a/src/gitea/Makefile b/src/gitea/Makefile new file mode 100644 index 0000000..9f19d86 --- /dev/null +++ b/src/gitea/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= gitea +HELM_APPLICATION_NAME ?= gitea +HELM_NAMESPACE ?= gitea +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= gitea +HELM_REPO_URL ?= https://dl.gitea.com/charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/gitea +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/gitea/README.md b/src/gitea/README.md new file mode 100644 index 0000000..364de48 --- /dev/null +++ b/src/gitea/README.md @@ -0,0 +1,34 @@ +# Gitea + +## Introduction + +Gitea is a community managed lightweight code hosting solution written in Go. It is published under the MIT license and is a painless self-hosted Git service. + +## Installation + +To install Gitea, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n gitea +``` + +To access Gitea: + +```bash +kubectl port-forward svc/gitea-http 3000:3000 -n gitea +``` + +Then open in your browser. + +## Documentation + +- [Official Gitea Documentation](https://docs.gitea.com/) +- [Helm Chart Source](https://gitea.com/gitea/helm-chart) diff --git a/src/gitea/README.zh.md b/src/gitea/README.zh.md new file mode 100644 index 0000000..d6618c5 --- /dev/null +++ b/src/gitea/README.zh.md @@ -0,0 +1,34 @@ +# Gitea + +## 简介 + +Gitea 是一个社区管理的轻量级代码托管解决方案,使用 Go 语言编写。它根据 MIT 许可证发布,是一个无痛的自托管 Git 服务。 + +## 安装 + +要安装 Gitea,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n gitea +``` + +访问 Gitea: + +```bash +kubectl port-forward svc/gitea-http 3000:3000 -n gitea +``` + +然后在浏览器中打开 。 + +## 文档 + +- [官方 Gitea 文档](https://docs.gitea.com/) +- [Helm Chart 源码](https://gitea.com/gitea/helm-chart) diff --git a/src/gitea/values.yaml b/src/gitea/values.yaml new file mode 100644 index 0000000..7863363 --- /dev/null +++ b/src/gitea/values.yaml @@ -0,0 +1,32 @@ +# Gitea Helm Chart Values +# https://gitea.com/gitea/helm-chart/src/branch/main/values.yaml + +# Default values for gitea +# This is a YAML-formatted file + +replicaCount: 1 + +image: + repository: gitea/gitea + tag: latest + pullPolicy: IfNotPresent + +service: + http: + type: ClusterIP + port: 3000 + ssh: + type: ClusterIP + port: 22 + +gitea: + config: + APP_NAME: 'Gitea: Git with a cup of tea' + repository: + ROOT: /data/git/gitea-repositories + server: + ROOT_URL: http://gitea.local/ + database: + DB_TYPE: sqlite3 + security: + INSTALL_LOCK: true diff --git a/src/gitlab-runner/Makefile b/src/gitlab-runner/Makefile new file mode 100644 index 0000000..77e3c63 --- /dev/null +++ b/src/gitlab-runner/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= gitlab-runner +HELM_APPLICATION_NAME ?= gitlab-runner +HELM_NAMESPACE ?= gitlab-runner +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= gitlab +HELM_REPO_URL ?= https://charts.gitlab.io +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/gitlab-runner +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/gitlab-runner/README.md b/src/gitlab-runner/README.md new file mode 100644 index 0000000..1ba4648 --- /dev/null +++ b/src/gitlab-runner/README.md @@ -0,0 +1,35 @@ +# GitLab Runner + +## Introduction + +GitLab Runner is the open-source project that is used to run your jobs and send the results back to GitLab. It is used together with GitLab CI/CD, the open-source continuous integration service included with GitLab. + +## Installation + +To install GitLab Runner, run: + +```bash +make install +``` + +## Configuration + +Before installation, you need to configure the runner registration token in values.yaml: + +```yaml +gitlabUrl: 'https://gitlab.example.com' +runnerRegistrationToken: YOUR_REGISTRATION_TOKEN +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n gitlab-runner +``` + +## Documentation + +- [Official GitLab Runner Documentation](https://docs.gitlab.com/runner/) +- [Helm Chart Source](https://gitlab.com/gitlab-org/charts/gitlab-runner) diff --git a/src/gitlab-runner/README.zh.md b/src/gitlab-runner/README.zh.md new file mode 100644 index 0000000..41beec0 --- /dev/null +++ b/src/gitlab-runner/README.zh.md @@ -0,0 +1,35 @@ +# GitLab Runner + +## 简介 + +GitLab Runner 是一个开源项目,用于运行您的作业并将结果发送回 GitLab。它与 GitLab CI/CD 一起使用,这是 GitLab 包含的开源持续集成服务。 + +## 安装 + +要安装 GitLab Runner,请运行: + +```bash +make install +``` + +## 配置 + +在安装之前,您需要在 values.yaml 中配置 runner 注册令牌: + +```yaml +gitlabUrl: 'https://gitlab.example.com' +runnerRegistrationToken: YOUR_REGISTRATION_TOKEN +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n gitlab-runner +``` + +## 文档 + +- [官方 GitLab Runner 文档](https://docs.gitlab.com/runner/) +- [Helm Chart 源码](https://gitlab.com/gitlab-org/charts/gitlab-runner) diff --git a/src/gitlab-runner/values.yaml b/src/gitlab-runner/values.yaml new file mode 100644 index 0000000..15bf04f --- /dev/null +++ b/src/gitlab-runner/values.yaml @@ -0,0 +1,29 @@ +# GitLab Runner Helm Chart Values +# https://gitlab.com/gitlab-org/charts/gitlab-runner/-/blob/main/values.yaml + +# Default values for gitlab-runner +# This is a YAML-formatted file + +image: + repository: gitlab/gitlab-runner + tag: alpine + pullPolicy: IfNotPresent + +gitlabUrl: 'https://gitlab.example.com' +runnerRegistrationToken: '' + +concurrent: 10 + +rbac: + create: true + rules: + - apiGroups: [''] + resources: [pods, pods/exec, pods/attach, secrets, configmaps] + verbs: [get, list, watch, create, patch, delete, update] + +runners: + config: | + [[runners]] + [runners.kubernetes] + namespace = "{{.Release.Namespace}}" + image = "ubuntu:22.04" diff --git a/src/gitlab/Makefile b/src/gitlab/Makefile new file mode 100644 index 0000000..c57b3ca --- /dev/null +++ b/src/gitlab/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= gitlab +HELM_APPLICATION_NAME ?= gitlab +HELM_NAMESPACE ?= gitlab +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= gitlab +HELM_REPO_URL ?= https://charts.gitlab.io +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/gitlab +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/gitlab/README.md b/src/gitlab/README.md new file mode 100644 index 0000000..abbcb9c --- /dev/null +++ b/src/gitlab/README.md @@ -0,0 +1,40 @@ +# GitLab + +## Introduction + +GitLab is a web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking, and CI/CD pipeline features. + +## Installation + +To install GitLab, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n gitlab +``` + +To access GitLab: + +```bash +kubectl port-forward svc/gitlab-webservice-default 8080:8080 -n gitlab +``` + +Then open in your browser. + +To get the initial root password: + +```bash +kubectl get secret gitlab-gitlab-initial-root-password -n gitlab -ojsonpath='{.data.password}' | base64 --decode +``` + +## Documentation + +- [Official GitLab Documentation](https://docs.gitlab.com/) +- [Helm Chart Source](https://gitlab.com/gitlab-org/charts/gitlab) diff --git a/src/gitlab/README.zh.md b/src/gitlab/README.zh.md new file mode 100644 index 0000000..08d1292 --- /dev/null +++ b/src/gitlab/README.zh.md @@ -0,0 +1,40 @@ +# GitLab + +## 简介 + +GitLab 是一个基于 Web 的 DevOps 生命周期工具,提供 Git 仓库管理器,具有 wiki、问题跟踪和 CI/CD 管道功能。 + +## 安装 + +要安装 GitLab,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n gitlab +``` + +访问 GitLab: + +```bash +kubectl port-forward svc/gitlab-webservice-default 8080:8080 -n gitlab +``` + +然后在浏览器中打开 。 + +获取初始 root 密码: + +```bash +kubectl get secret gitlab-gitlab-initial-root-password -n gitlab -ojsonpath='{.data.password}' | base64 --decode +``` + +## 文档 + +- [官方 GitLab 文档](https://docs.gitlab.com/) +- [Helm Chart 源码](https://gitlab.com/gitlab-org/charts/gitlab) diff --git a/src/gitlab/values.yaml b/src/gitlab/values.yaml new file mode 100644 index 0000000..7af6d02 --- /dev/null +++ b/src/gitlab/values.yaml @@ -0,0 +1,27 @@ +# GitLab Helm Chart Values +# https://gitlab.com/gitlab-org/charts/gitlab/-/blob/master/values.yaml + +# Default values for gitlab +# This is a YAML-formatted file + +global: + edition: ce + hosts: + domain: gitlab.local + hostSuffix: '' + https: false + ingress: + enabled: false + initialRootPassword: + key: password + secret: gitlab-gitlab-initial-root-password + +gitlab: + webservice: + enabled: true + minReplicas: 1 + maxReplicas: 1 + sidekiq: + enabled: true + minReplicas: 1 + maxReplicas: 1 diff --git a/src/grafana/Makefile b/src/grafana/Makefile new file mode 100644 index 0000000..986b9b9 --- /dev/null +++ b/src/grafana/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= grafana +HELM_APPLICATION_NAME ?= grafana +HELM_NAMESPACE ?= grafana +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= grafana +HELM_REPO_URL ?= https://grafana.github.io/helm-charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/grafana +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/grafana/README.md b/src/grafana/README.md new file mode 100644 index 0000000..916a052 --- /dev/null +++ b/src/grafana/README.md @@ -0,0 +1,36 @@ +# Grafana + +## Introduction + +Grafana is a multi-platform open-source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. + +## Installation + +To install Grafana, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n grafana +``` + +To access Grafana: + +```bash +kubectl port-forward svc/grafana 3000:3000 -n grafana +``` + +Then open in your browser. + +Default credentials: admin/admin + +## Documentation + +- [Official Grafana Documentation](https://grafana.com/docs/) +- [Helm Chart Source](https://github.com/grafana/helm-charts/tree/main/charts/grafana) diff --git a/src/grafana/README.zh.md b/src/grafana/README.zh.md new file mode 100644 index 0000000..8684a42 --- /dev/null +++ b/src/grafana/README.zh.md @@ -0,0 +1,36 @@ +# Grafana + +## 简介 + +Grafana 是一个多平台开源分析和交互式可视化 Web 应用程序。当连接到支持的数据源时,它为 Web 提供图表、图形和警报。 + +## 安装 + +要安装 Grafana,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n grafana +``` + +访问 Grafana: + +```bash +kubectl port-forward svc/grafana 3000:3000 -n grafana +``` + +然后在浏览器中打开 。 + +默认凭据:admin/admin + +## 文档 + +- [官方 Grafana 文档](https://grafana.com/docs/) +- [Helm Chart 源码](https://github.com/grafana/helm-charts/tree/main/charts/grafana) diff --git a/src/grafana/values.yaml b/src/grafana/values.yaml new file mode 100644 index 0000000..4e82e62 --- /dev/null +++ b/src/grafana/values.yaml @@ -0,0 +1,26 @@ +# Grafana Helm Chart Values +# https://github.com/grafana/helm-charts/blob/main/charts/grafana/values.yaml + +# Default values for grafana +# This is a YAML-formatted file + +replicas: 1 + +image: + repository: grafana/grafana + tag: latest + pullPolicy: IfNotPresent + +service: + type: ClusterIP + port: 3000 + +admin: + existingSecret: '' + passwordKey: admin-password + userKey: admin-user + +persistence: + enabled: true + type: pvc + size: 10Gi diff --git a/src/harbor/Makefile b/src/harbor/Makefile new file mode 100644 index 0000000..48fd746 --- /dev/null +++ b/src/harbor/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= harbor +HELM_APPLICATION_NAME ?= harbor +HELM_NAMESPACE ?= harbor +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= harbor +HELM_REPO_URL ?= https://helm.goharbor.io +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/harbor +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/harbor/README.md b/src/harbor/README.md new file mode 100644 index 0000000..790f327 --- /dev/null +++ b/src/harbor/README.md @@ -0,0 +1,36 @@ +# Harbor + +## Introduction + +Harbor is an open-source trusted cloud-native registry project that stores, signs, and scans content. Harbor extends the open-source Docker Distribution by adding the functionalities usually required by users such as security, identity, and management. + +## Installation + +To install Harbor, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n harbor +``` + +To access Harbor Portal: + +```bash +kubectl port-forward svc/harbor-portal 8080:80 -n harbor +``` + +Then open in your browser. + +Default credentials: admin/Harbor12345 + +## Documentation + +- [Official Harbor Documentation](https://goharbor.io/docs/) +- [Helm Chart Source](https://github.com/goharbor/harbor-helm) diff --git a/src/harbor/README.zh.md b/src/harbor/README.zh.md new file mode 100644 index 0000000..96660cd --- /dev/null +++ b/src/harbor/README.zh.md @@ -0,0 +1,36 @@ +# Harbor + +## 简介 + +Harbor 是一个开源的受信任云原生注册表项目,用于存储、签名和扫描内容。Harbor 通过添加用户通常需要的功能(如安全性、身份和管理)来扩展开源 Docker Distribution。 + +## 安装 + +要安装 Harbor,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n harbor +``` + +访问 Harbor 门户: + +```bash +kubectl port-forward svc/harbor-portal 8080:80 -n harbor +``` + +然后在浏览器中打开 。 + +默认凭据:admin/Harbor12345 + +## 文档 + +- [官方 Harbor 文档](https://goharbor.io/docs/) +- [Helm Chart 源码](https://github.com/goharbor/harbor-helm) diff --git a/src/harbor/values.yaml b/src/harbor/values.yaml new file mode 100644 index 0000000..83c2d78 --- /dev/null +++ b/src/harbor/values.yaml @@ -0,0 +1,22 @@ +# Harbor Helm Chart Values +# https://github.com/goharbor/harbor-helm/blob/master/values.yaml + +# Default values for harbor +# This is a YAML-formatted file + +expose: + type: ingress + tls: + enabled: false + ingress: + hosts: + core: harbor.local + notary: notary.harbor.local + +externalURL: https://harbor.local + +harborAdminPassword: Harbor12345 + +persistence: + enabled: true + resourcePolicy: keep diff --git a/src/hbase/Makefile b/src/hbase/Makefile new file mode 100644 index 0000000..d1e9b0a --- /dev/null +++ b/src/hbase/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= hbase +HELM_APPLICATION_NAME ?= hbase +HELM_NAMESPACE ?= hbase +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= kubeblocks +HELM_REPO_URL ?= https://kubeblocks.io/charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/hbase-cluster +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/hbase/README.md b/src/hbase/README.md new file mode 100644 index 0000000..bffe950 --- /dev/null +++ b/src/hbase/README.md @@ -0,0 +1,32 @@ +# Apache HBase + +## Introduction + +Apache HBase is an open-source, distributed, versioned, non-relational database modeled after Google's Bigtable. It provides Bigtable-like capabilities on top of Hadoop and HDFS. + +## Installation + +To install Apache HBase, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n hbase +``` + +To access HBase shell: + +```bash +kubectl exec -it hbase-master-0 -n hbase -- hbase shell +``` + +## Documentation + +- [Official HBase Documentation](https://hbase.apache.org/book.html) +- [Helm Chart Source](https://github.com/apecloud/kubeblocks-addons/tree/main/addons/hbase) diff --git a/src/hbase/README.zh.md b/src/hbase/README.zh.md new file mode 100644 index 0000000..8d18faf --- /dev/null +++ b/src/hbase/README.zh.md @@ -0,0 +1,32 @@ +# Apache HBase + +## 简介 + +Apache HBase 是一个开源的、分布式的、版本化的、非关系型数据库,模仿 Google's Bigtable。它在 Hadoop 和 HDFS 之上提供类似 Bigtable 的功能。 + +## 安装 + +要安装 Apache HBase,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n hbase +``` + +访问 HBase shell: + +```bash +kubectl exec -it hbase-master-0 -n hbase -- hbase shell +``` + +## 文档 + +- [官方 HBase 文档](https://hbase.apache.org/book.html) +- [Helm Chart 源码](https://github.com/apecloud/kubeblocks-addons/tree/main/addons/hbase) diff --git a/src/hbase/values.yaml b/src/hbase/values.yaml new file mode 100644 index 0000000..bc05725 --- /dev/null +++ b/src/hbase/values.yaml @@ -0,0 +1,22 @@ +# HBase Helm Chart Values +# https://github.com/apecloud/kubeblocks-addons/blob/main/addons/hbase/values.yaml + +# Default values for hbase +# This is a YAML-formatted file + +nameOverride: '' +fullnameOverride: '' + +hbase: + master: + replicas: 1 + resources: + requests: + cpu: 100m + memory: 512Mi + regionServer: + replicas: 1 + resources: + requests: + cpu: 100m + memory: 512Mi diff --git a/src/kong/Makefile b/src/kong/Makefile new file mode 100644 index 0000000..54cd526 --- /dev/null +++ b/src/kong/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= kong +HELM_APPLICATION_NAME ?= kong +HELM_NAMESPACE ?= kong +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= kong +HELM_REPO_URL ?= https://charts.konghq.com +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/kong +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/kong/README.md b/src/kong/README.md new file mode 100644 index 0000000..797274b --- /dev/null +++ b/src/kong/README.md @@ -0,0 +1,38 @@ +# Kong Gateway + +## Introduction + +Kong Gateway is a lightweight, fast, and flexible cloud-native API gateway. It is built on NGINX and OpenResty and provides a scalable, high-performance gateway for APIs and microservices. + +## Installation + +To install Kong Gateway, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n kong +``` + +To access Kong Admin API: + +```bash +kubectl port-forward svc/kong-admin 8001:8001 -n kong +``` + +To access Kong Proxy: + +```bash +kubectl port-forward svc/kong-proxy 8000:8000 -n kong +``` + +## Documentation + +- [Official Kong Documentation](https://docs.konghq.com/) +- [Helm Chart Source](https://github.com/Kong/charts) diff --git a/src/kong/README.zh.md b/src/kong/README.zh.md new file mode 100644 index 0000000..3f65dd4 --- /dev/null +++ b/src/kong/README.zh.md @@ -0,0 +1,38 @@ +# Kong Gateway + +## 简介 + +Kong Gateway 是一个轻量级、快速、灵活的云原生 API 网关。它基于 NGINX 和 OpenResty 构建,为 API 和微服务提供可扩展的高性能网关。 + +## 安装 + +要安装 Kong Gateway,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n kong +``` + +访问 Kong Admin API: + +```bash +kubectl port-forward svc/kong-admin 8001:8001 -n kong +``` + +访问 Kong Proxy: + +```bash +kubectl port-forward svc/kong-proxy 8000:8000 -n kong +``` + +## 文档 + +- [官方 Kong 文档](https://docs.konghq.com/) +- [Helm Chart 源码](https://github.com/Kong/charts) diff --git a/src/kong/values.yaml b/src/kong/values.yaml new file mode 100644 index 0000000..14b4127 --- /dev/null +++ b/src/kong/values.yaml @@ -0,0 +1,27 @@ +# Kong Helm Chart Values +# https://github.com/Kong/charts/blob/main/charts/kong/values.yaml + +# Default values for kong +# This is a YAML-formatted file + +image: + repository: kong + tag: '3.5' + pullPolicy: IfNotPresent + +replicaCount: 1 + +ingressController: + enabled: true + installCRDs: false + +proxy: + type: LoadBalancer + http: + enabled: true + servicePort: 80 + containerPort: 8000 + tls: + enabled: true + servicePort: 443 + containerPort: 8443 diff --git a/src/litellm/Makefile b/src/litellm/Makefile new file mode 100644 index 0000000..f86097c --- /dev/null +++ b/src/litellm/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= litellm +HELM_APPLICATION_NAME ?= litellm +HELM_NAMESPACE ?= litellm +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= litellm +HELM_REPO_URL ?= https://berriai.github.io/litellm-helm +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/litellm-helm +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/litellm/README.md b/src/litellm/README.md new file mode 100644 index 0000000..b686758 --- /dev/null +++ b/src/litellm/README.md @@ -0,0 +1,28 @@ +# LiteLLM + +## Introduction + +LiteLLM is a unified API to call over 100+ LLM APIs (OpenAI, Anthropic, Azure, VertexAI, Bedrock, Cohere, Mistral, Ollama, etc.) using the OpenAI format. + +## Installation + +To install LiteLLM, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n litellm +``` + +To configure LiteLLM, edit the values.yaml file with your LLM provider API keys. + +## Documentation + +- [Official LiteLLM Documentation](https://docs.litellm.ai/) +- [Helm Chart Source](https://github.com/BerriAI/litellm/tree/main/deploy/charts/litellm-helm) diff --git a/src/litellm/README.zh.md b/src/litellm/README.zh.md new file mode 100644 index 0000000..02e17ef --- /dev/null +++ b/src/litellm/README.zh.md @@ -0,0 +1,28 @@ +# LiteLLM + +## 简介 + +LiteLLM 是一个统一的 API,可以使用 OpenAI 格式调用 100+ 个 LLM API(OpenAI、Anthropic、Azure、VertexAI、Bedrock、Cohere、Mistral、Ollama 等)。 + +## 安装 + +要安装 LiteLLM,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n litellm +``` + +要配置 LiteLLM,请在 values.yaml 文件中编辑您的 LLM 提供商 API 密钥。 + +## 文档 + +- [官方 LiteLLM 文档](https://docs.litellm.ai/) +- [Helm Chart 源码](https://github.com/BerriAI/litellm/tree/main/deploy/charts/litellm-helm) diff --git a/src/litellm/values.yaml b/src/litellm/values.yaml new file mode 100644 index 0000000..b802b85 --- /dev/null +++ b/src/litellm/values.yaml @@ -0,0 +1,22 @@ +# LiteLLM Helm Chart Values +# https://github.com/BerriAI/litellm/blob/main/deploy/charts/litellm-helm/values.yaml + +# Default values for litellm +# This is a YAML-formatted file + +image: + repository: ghcr.io/berriai/litellm-database + tag: latest + pullPolicy: IfNotPresent + +replicaCount: 1 + +config: + # LiteLLM proxy configuration + # See: https://docs.litellm.ai/docs/proxy/configs + config.yaml: | + model_list: + - model_name: openai-gpt-4 + litellm_params: + model: openai/gpt-4 + api_key: os.environ/OPENAI_API_KEY diff --git a/src/loki/Makefile b/src/loki/Makefile new file mode 100644 index 0000000..c684817 --- /dev/null +++ b/src/loki/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= loki +HELM_APPLICATION_NAME ?= loki +HELM_NAMESPACE ?= loki +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= grafana +HELM_REPO_URL ?= https://grafana.github.io/helm-charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/loki +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/loki/README.md b/src/loki/README.md new file mode 100644 index 0000000..3e4703c --- /dev/null +++ b/src/loki/README.md @@ -0,0 +1,29 @@ +# Grafana Loki + +## Introduction + +Grafana Loki is a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost-effective and easy to operate. + +## Installation + +To install Grafana Loki, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n loki +``` + +To configure Loki as a data source in Grafana, use the URL: +`http://loki.loki.svc.cluster.local:3100` + +## Documentation + +- [Official Loki Documentation](https://grafana.com/docs/loki/latest/) +- [Helm Chart Source](https://github.com/grafana/helm-charts/tree/main/charts/loki) diff --git a/src/loki/README.zh.md b/src/loki/README.zh.md new file mode 100644 index 0000000..be67615 --- /dev/null +++ b/src/loki/README.zh.md @@ -0,0 +1,29 @@ +# Grafana Loki + +## 简介 + +Grafana Loki 是一个水平可扩展、高可用、多租户的日志聚合系统,受 Prometheus 启发。它旨在非常经济高效且易于操作。 + +## 安装 + +要安装 Grafana Loki,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n loki +``` + +要在 Grafana 中将 Loki 配置为数据源,请使用 URL: +`http://loki.loki.svc.cluster.local:3100` + +## 文档 + +- [官方 Loki 文档](https://grafana.com/docs/loki/latest/) +- [Helm Chart 源码](https://github.com/grafana/helm-charts/tree/main/charts/loki) diff --git a/src/loki/values.yaml b/src/loki/values.yaml new file mode 100644 index 0000000..cf991f5 --- /dev/null +++ b/src/loki/values.yaml @@ -0,0 +1,18 @@ +# Loki Helm Chart Values +# https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml + +# Default values for loki +# This is a YAML-formatted file + +loki: + auth_enabled: false + commonConfig: + replication_factor: 1 + storage: + type: filesystem + +singleBinary: + replicas: 1 + persistence: + enabled: true + size: 10Gi diff --git a/src/mlflow/Makefile b/src/mlflow/Makefile new file mode 100644 index 0000000..76403ea --- /dev/null +++ b/src/mlflow/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= mlflow +HELM_APPLICATION_NAME ?= mlflow +HELM_NAMESPACE ?= mlflow +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= community-charts +HELM_REPO_URL ?= https://community-charts.github.io +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/mlflow +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/mlflow/README.md b/src/mlflow/README.md new file mode 100644 index 0000000..70f2edf --- /dev/null +++ b/src/mlflow/README.md @@ -0,0 +1,34 @@ +# MLflow + +## Introduction + +MLflow is an open-source platform to manage the ML lifecycle, including experimentation, reproducibility, deployment, and a central model registry. + +## Installation + +To install MLflow, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n mlflow +``` + +To access MLflow UI: + +```bash +kubectl port-forward svc/mlflow 5000:5000 -n mlflow +``` + +Then open in your browser. + +## Documentation + +- [Official MLflow Documentation](https://mlflow.org/docs/latest/index.html) +- [Helm Chart Source](https://github.com/community-charts/helm-charts/tree/main/charts/mlflow) diff --git a/src/mlflow/README.zh.md b/src/mlflow/README.zh.md new file mode 100644 index 0000000..3c2ae05 --- /dev/null +++ b/src/mlflow/README.zh.md @@ -0,0 +1,34 @@ +# MLflow + +## 简介 + +MLflow 是一个开源平台,用于管理机器学习生命周期,包括实验、可重复性、部署和中央模型注册表。 + +## 安装 + +要安装 MLflow,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n mlflow +``` + +访问 MLflow UI: + +```bash +kubectl port-forward svc/mlflow 5000:5000 -n mlflow +``` + +然后在浏览器中打开 。 + +## 文档 + +- [官方 MLflow 文档](https://mlflow.org/docs/latest/index.html) +- [Helm Chart 源码](https://github.com/community-charts/helm-charts/tree/main/charts/mlflow) diff --git a/src/mlflow/values.yaml b/src/mlflow/values.yaml new file mode 100644 index 0000000..0191fee --- /dev/null +++ b/src/mlflow/values.yaml @@ -0,0 +1,26 @@ +# MLflow Helm Chart Values +# https://github.com/community-charts/helm-charts/blob/main/charts/mlflow/values.yaml + +# Default values for mlflow +# This is a YAML-formatted file + +replicaCount: 1 + +image: + repository: burakince/mlflow + tag: latest + pullPolicy: IfNotPresent + +service: + type: ClusterIP + port: 5000 + +backendStore: + databaseMigration: true + postgres: + enabled: true + host: postgresql + port: 5432 + database: mlflow + user: mlflow + password: mlflow diff --git a/src/mysql/Makefile b/src/mysql/Makefile new file mode 100644 index 0000000..b604e94 --- /dev/null +++ b/src/mysql/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= mysql +HELM_APPLICATION_NAME ?= mysql-innodbcluster +HELM_NAMESPACE ?= mysql +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= mysql-operator +HELM_REPO_URL ?= https://mysql.github.io/mysql-operator/ +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/mysql-innodbcluster +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/mysql/README.md b/src/mysql/README.md new file mode 100644 index 0000000..e52c991 --- /dev/null +++ b/src/mysql/README.md @@ -0,0 +1,33 @@ +# MySQL (Oracle MySQL Operator) + +## Introduction + +MySQL Operator for Kubernetes manages MySQL InnoDB Cluster in Kubernetes. It is brought to you by the MySQL team at Oracle. + +## Installation + +To install MySQL Operator and MySQL InnoDB Cluster, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n mysql +``` + +To connect to MySQL: + +```bash +kubectl exec -it mysql-0 -n mysql -- mysql -uroot -p +``` + +## Documentation + +- [Official MySQL Documentation](https://dev.mysql.com/doc/) +- [MySQL Operator Documentation](https://dev.mysql.com/doc/mysql-operator/en/) +- [Helm Chart Source](https://github.com/mysql/mysql-operator) diff --git a/src/mysql/README.zh.md b/src/mysql/README.zh.md new file mode 100644 index 0000000..4aaa73d --- /dev/null +++ b/src/mysql/README.zh.md @@ -0,0 +1,33 @@ +# MySQL (Oracle MySQL Operator) + +## 简介 + +MySQL Operator for Kubernetes 在 Kubernetes 中管理 MySQL InnoDB 集群。它由 Oracle 的 MySQL 团队提供。 + +## 安装 + +要安装 MySQL Operator 和 MySQL InnoDB 集群,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n mysql +``` + +连接 MySQL: + +```bash +kubectl exec -it mysql-0 -n mysql -- mysql -uroot -p +``` + +## 文档 + +- [官方 MySQL 文档](https://dev.mysql.com/doc/) +- [MySQL Operator 文档](https://dev.mysql.com/doc/mysql-operator/en/) +- [Helm Chart 源码](https://github.com/mysql/mysql-operator) diff --git a/src/mysql/values.yaml b/src/mysql/values.yaml new file mode 100644 index 0000000..af28d28 --- /dev/null +++ b/src/mysql/values.yaml @@ -0,0 +1,19 @@ +# MySQL InnoDB Cluster Helm Chart Values +# https://github.com/mysql/mysql-operator/blob/main/helm/mysql-innodbcluster/values.yaml + +# Default values for mysql-innodbcluster +# This is a YAML-formatted file + +credentials: + root: + host: '%' + password: password + user: root + +serverInstances: 3 + +router: + instances: 1 + +tls: + useSelfSigned: true diff --git a/src/nacos/Makefile b/src/nacos/Makefile new file mode 100644 index 0000000..1ad37b5 --- /dev/null +++ b/src/nacos/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= nacos +HELM_APPLICATION_NAME ?= nacos +HELM_NAMESPACE ?= nacos +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= nacos +HELM_REPO_URL ?= https://nacos-charts.storage.googleapis.com +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/nacos +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/nacos/README.md b/src/nacos/README.md new file mode 100644 index 0000000..fb799b4 --- /dev/null +++ b/src/nacos/README.md @@ -0,0 +1,36 @@ +# Nacos + +## Introduction + +Nacos is an easy-to-use platform designed for dynamic service discovery, configuration management, and service management. It helps you build cloud-native applications and microservices more quickly and easily. + +## Installation + +To install Nacos, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n nacos +``` + +To access Nacos Console: + +```bash +kubectl port-forward svc/nacos 8848:8848 -n nacos +``` + +Then open in your browser. + +Default credentials: nacos/nacos + +## Documentation + +- [Official Nacos Documentation](https://nacos.io/en-us/docs/what-is-nacos.html) +- [Helm Chart Source](https://github.com/nacos-group/nacos-k8s) diff --git a/src/nacos/README.zh.md b/src/nacos/README.zh.md new file mode 100644 index 0000000..e82cb15 --- /dev/null +++ b/src/nacos/README.zh.md @@ -0,0 +1,36 @@ +# Nacos + +## 简介 + +Nacos 是一个易于使用的平台,专为动态服务发现、配置管理和服务管理而设计。它帮助您更快速、更轻松地构建云原生应用程序和微服务。 + +## 安装 + +要安装 Nacos,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n nacos +``` + +访问 Nacos 控制台: + +```bash +kubectl port-forward svc/nacos 8848:8848 -n nacos +``` + +然后在浏览器中打开 。 + +默认凭据:nacos/nacos + +## 文档 + +- [官方 Nacos 文档](https://nacos.io/zh-cn/docs/what-is-nacos.html) +- [Helm Chart 源码](https://github.com/nacos-group/nacos-k8s) diff --git a/src/nacos/values.yaml b/src/nacos/values.yaml new file mode 100644 index 0000000..3d14430 --- /dev/null +++ b/src/nacos/values.yaml @@ -0,0 +1,21 @@ +# Nacos Helm Chart Values +# https://github.com/nacos-group/nacos-k8s/blob/master/helm/values.yaml + +# Default values for nacos +# This is a YAML-formatted file + +replicaCount: 1 + +image: + repository: nacos/nacos-server + tag: latest + pullPolicy: IfNotPresent + +service: + type: ClusterIP + port: 8848 + +persistence: + enabled: true + storageClassName: standard + size: 10Gi diff --git a/src/neo4j/Makefile b/src/neo4j/Makefile new file mode 100644 index 0000000..d055034 --- /dev/null +++ b/src/neo4j/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= neo4j +HELM_APPLICATION_NAME ?= neo4j +HELM_NAMESPACE ?= neo4j +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= neo4j +HELM_REPO_URL ?= https://helm.neo4j.com/neo4j +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/neo4j +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/neo4j/README.md b/src/neo4j/README.md new file mode 100644 index 0000000..36273d2 --- /dev/null +++ b/src/neo4j/README.md @@ -0,0 +1,34 @@ +# Neo4j + +## Introduction + +Neo4j is a highly scalable, native graph database purpose-built to leverage not only data but also data relationships. Neo4j delivers lightning-fast read and write performance, while maintaining data integrity. + +## Installation + +To install Neo4j, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n neo4j +``` + +To connect to Neo4j Browser: + +```bash +kubectl port-forward svc/neo4j 7474:7474 7687:7687 -n neo4j +``` + +Then open in your browser. + +## Documentation + +- [Official Neo4j Documentation](https://neo4j.com/docs/) +- [Helm Chart Source](https://github.com/neo4j/helm-charts) diff --git a/src/neo4j/README.zh.md b/src/neo4j/README.zh.md new file mode 100644 index 0000000..a9d7410 --- /dev/null +++ b/src/neo4j/README.zh.md @@ -0,0 +1,34 @@ +# Neo4j + +## 简介 + +Neo4j 是一个高度可扩展的本地图数据库,专门用于利用数据以及数据之间的关系。Neo4j 提供闪电般的读写性能,同时保持数据完整性。 + +## 安装 + +要安装 Neo4j,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n neo4j +``` + +连接 Neo4j 浏览器: + +```bash +kubectl port-forward svc/neo4j 7474:7474 7687:7687 -n neo4j +``` + +然后在浏览器中打开 。 + +## 文档 + +- [官方 Neo4j 文档](https://neo4j.com/docs/) +- [Helm Chart 源码](https://github.com/neo4j/helm-charts) diff --git a/src/neo4j/values.yaml b/src/neo4j/values.yaml new file mode 100644 index 0000000..4508091 --- /dev/null +++ b/src/neo4j/values.yaml @@ -0,0 +1,17 @@ +# Neo4j Helm Chart Values +# https://github.com/neo4j/helm-charts/blob/main/neo4j/values.yaml + +# Default values for neo4j +# This is a YAML-formatted file + +neo4j: + name: neo4j + acceptLicenseAgreement: no + edition: community + password: password + +services: + neo4j: + enabled: true + spec: + type: ClusterIP diff --git a/src/open-webui/Makefile b/src/open-webui/Makefile new file mode 100644 index 0000000..b799969 --- /dev/null +++ b/src/open-webui/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= open-webui +HELM_APPLICATION_NAME ?= open-webui +HELM_NAMESPACE ?= open-webui +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= open-webui +HELM_REPO_URL ?= https://helm.openwebui.com +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/open-webui +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/open-webui/README.md b/src/open-webui/README.md new file mode 100644 index 0000000..c959a83 --- /dev/null +++ b/src/open-webui/README.md @@ -0,0 +1,34 @@ +# Open WebUI + +## Introduction + +Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI interface designed to operate entirely offline. It supports various LLM runners, including Ollama and OpenAI-compatible APIs. + +## Installation + +To install Open WebUI, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n open-webui +``` + +To access Open WebUI: + +```bash +kubectl port-forward svc/open-webui 8080:8080 -n open-webui +``` + +Then open in your browser. + +## Documentation + +- [Official Open WebUI Documentation](https://docs.openwebui.com/) +- [Helm Chart Source](https://github.com/open-webui/helm-charts) diff --git a/src/open-webui/README.zh.md b/src/open-webui/README.zh.md new file mode 100644 index 0000000..631694c --- /dev/null +++ b/src/open-webui/README.zh.md @@ -0,0 +1,34 @@ +# Open WebUI + +## 简介 + +Open WebUI 是一个可扩展、功能丰富且用户友好的自托管 AI 界面,旨在完全离线运行。它支持各种 LLM 运行器,包括 Ollama 和 OpenAI 兼容的 API。 + +## 安装 + +要安装 Open WebUI,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n open-webui +``` + +访问 Open WebUI: + +```bash +kubectl port-forward svc/open-webui 8080:8080 -n open-webui +``` + +然后在浏览器中打开 。 + +## 文档 + +- [官方 Open WebUI 文档](https://docs.openwebui.com/) +- [Helm Chart 源码](https://github.com/open-webui/helm-charts) diff --git a/src/open-webui/values.yaml b/src/open-webui/values.yaml new file mode 100644 index 0000000..fa58c42 --- /dev/null +++ b/src/open-webui/values.yaml @@ -0,0 +1,19 @@ +# Open WebUI Helm Chart Values +# https://github.com/open-webui/helm-charts/blob/main/charts/open-webui/values.yaml + +# Default values for open-webui +# This is a YAML-formatted file + +replicaCount: 1 + +image: + repository: ghcr.io/open-webui/open-webui + tag: main + pullPolicy: IfNotPresent + +service: + type: ClusterIP + port: 8080 + +ollama: + enabled: false diff --git a/src/prometheus/Makefile b/src/prometheus/Makefile new file mode 100644 index 0000000..a635624 --- /dev/null +++ b/src/prometheus/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= prometheus +HELM_APPLICATION_NAME ?= kube-prometheus-stack +HELM_NAMESPACE ?= prometheus +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= prometheus-community +HELM_REPO_URL ?= https://prometheus-community.github.io/helm-charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/kube-prometheus-stack +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/prometheus/README.md b/src/prometheus/README.md new file mode 100644 index 0000000..979878b --- /dev/null +++ b/src/prometheus/README.md @@ -0,0 +1,34 @@ +# Prometheus (kube-prometheus-stack) + +## Introduction + +kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, and Prometheus rules combined with documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring with Prometheus using the Prometheus Operator. + +## Installation + +To install Prometheus, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n prometheus +``` + +To access Prometheus UI: + +```bash +kubectl port-forward svc/prometheus-kube-prometheus-prometheus 9090:9090 -n prometheus +``` + +Then open in your browser. + +## Documentation + +- [Official Prometheus Documentation](https://prometheus.io/docs/) +- [Helm Chart Source](https://github.com/prometheus-community/helm-charts) diff --git a/src/prometheus/README.zh.md b/src/prometheus/README.zh.md new file mode 100644 index 0000000..d66a180 --- /dev/null +++ b/src/prometheus/README.zh.md @@ -0,0 +1,34 @@ +# Prometheus (kube-prometheus-stack) + +## 简介 + +kube-prometheus-stack 收集了 Kubernetes 清单、Grafana 仪表板和 Prometheus 规则,以及文档和脚本,使用 Prometheus Operator 提供易于操作的端到端 Kubernetes 集群监控。 + +## 安装 + +要安装 Prometheus,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n prometheus +``` + +访问 Prometheus UI: + +```bash +kubectl port-forward svc/prometheus-kube-prometheus-prometheus 9090:9090 -n prometheus +``` + +然后在浏览器中打开 。 + +## 文档 + +- [官方 Prometheus 文档](https://prometheus.io/docs/) +- [Helm Chart 源码](https://github.com/prometheus-community/helm-charts) diff --git a/src/prometheus/values.yaml b/src/prometheus/values.yaml new file mode 100644 index 0000000..ebfb5c5 --- /dev/null +++ b/src/prometheus/values.yaml @@ -0,0 +1,14 @@ +# kube-prometheus-stack Helm Chart Values +# https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml + +# Default values for kube-prometheus-stack +# This is a YAML-formatted file + +prometheus: + prometheusSpec: + retention: 10d + retentionSize: '' + +grafana: + enabled: true + adminPassword: admin diff --git a/src/pulsar/Makefile b/src/pulsar/Makefile new file mode 100644 index 0000000..0ac81f3 --- /dev/null +++ b/src/pulsar/Makefile @@ -0,0 +1,16 @@ +HELM_RELEASE_NAME ?= pulsar +HELM_APPLICATION_NAME ?= pulsar +HELM_NAMESPACE ?= pulsar +HELM_DIR ?= ./helm +HELM_CHART_VERSION ?= +HELM_VALUES_FILE ?= ./values.yaml +HELM_OCI_REGISTRY ?= +HELM_OCI_NAMESPACE ?= +HELM_OCI_USERNAME ?= +HELM_OCI_PASSWORD ?= +HELM_REPO_NAME ?= apache +HELM_REPO_URL ?= https://pulsar.apache.org/charts +HELM_CHART_REPO ?= $(HELM_REPO_NAME)/pulsar +HELM_LANE ?= + +include ../_template/base.mk diff --git a/src/pulsar/README.md b/src/pulsar/README.md new file mode 100644 index 0000000..ea3b006 --- /dev/null +++ b/src/pulsar/README.md @@ -0,0 +1,32 @@ +# Apache Pulsar + +## Introduction + +Apache Pulsar is a cloud-native, distributed messaging and streaming platform originally created at Yahoo! and now a top-level Apache Software Foundation project. + +## Installation + +To install Apache Pulsar, run: + +```bash +make install +``` + +## Usage + +After installation, verify the deployment: + +```bash +kubectl get pods -n pulsar +``` + +To check Pulsar broker status: + +```bash +kubectl exec -it pulsar-broker-0 -n pulsar -- bin/pulsar-admin brokers list +``` + +## Documentation + +- [Official Apache Pulsar Documentation](https://pulsar.apache.org/docs/) +- [Helm Chart Source](https://github.com/apache/pulsar-helm-chart) diff --git a/src/pulsar/README.zh.md b/src/pulsar/README.zh.md new file mode 100644 index 0000000..47b62ee --- /dev/null +++ b/src/pulsar/README.zh.md @@ -0,0 +1,32 @@ +# Apache Pulsar + +## 简介 + +Apache Pulsar 是一个云原生分布式消息和流平台,最初由 Yahoo! 创建,现在是 Apache 软件基金会的顶级项目。 + +## 安装 + +要安装 Apache Pulsar,请运行: + +```bash +make install +``` + +## 使用 + +安装完成后,验证部署: + +```bash +kubectl get pods -n pulsar +``` + +检查 Pulsar broker 状态: + +```bash +kubectl exec -it pulsar-broker-0 -n pulsar -- bin/pulsar-admin brokers list +``` + +## 文档 + +- [官方 Apache Pulsar 文档](https://pulsar.apache.org/docs/) +- [Helm Chart 源码](https://github.com/apache/pulsar-helm-chart) diff --git a/src/pulsar/values.yaml b/src/pulsar/values.yaml new file mode 100644 index 0000000..7c5d536 --- /dev/null +++ b/src/pulsar/values.yaml @@ -0,0 +1,19 @@ +# Apache Pulsar Helm Chart Values +# https://github.com/apache/pulsar-helm-chart/blob/master/charts/pulsar/values.yaml + +# Default values for pulsar +# This is a YAML-formatted file + +components: + zookeeper: true + bookkeeper: true + broker: true + proxy: true + functions: false + prometheus: false + grafana: false + node_exporter: false + +monitoring: + prometheus: false + grafana: false