feat: add more services
This commit is contained in:
2
.github/instructions/base.instructions.md
vendored
2
.github/instructions/base.instructions.md
vendored
@@ -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.
|
||||
|
||||
16
src/duckdb/Makefile
Normal file
16
src/duckdb/Makefile
Normal file
@@ -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
|
||||
51
src/duckdb/README.md
Normal file
51
src/duckdb/README.md
Normal file
@@ -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 <http://localhost:8080> 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)
|
||||
51
src/duckdb/README.zh.md
Normal file
51
src/duckdb/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8080>。
|
||||
|
||||
## 使用 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)
|
||||
38
src/duckdb/values.yaml
Normal file
38
src/duckdb/values.yaml
Normal file
@@ -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
|
||||
16
src/flink/Makefile
Normal file
16
src/flink/Makefile
Normal file
@@ -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
|
||||
29
src/flink/README.md
Normal file
29
src/flink/README.md
Normal file
@@ -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)
|
||||
29
src/flink/README.zh.md
Normal file
29
src/flink/README.zh.md
Normal file
@@ -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)
|
||||
20
src/flink/values.yaml
Normal file
20
src/flink/values.yaml
Normal file
@@ -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
|
||||
16
src/gitea-runner/Makefile
Normal file
16
src/gitea-runner/Makefile
Normal file
@@ -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
|
||||
37
src/gitea-runner/README.md
Normal file
37
src/gitea-runner/README.md
Normal file
@@ -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)
|
||||
37
src/gitea-runner/README.zh.md
Normal file
37
src/gitea-runner/README.zh.md
Normal file
@@ -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)
|
||||
38
src/gitea-runner/values.yaml
Normal file
38
src/gitea-runner/values.yaml
Normal file
@@ -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
|
||||
16
src/gitea/Makefile
Normal file
16
src/gitea/Makefile
Normal file
@@ -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
|
||||
34
src/gitea/README.md
Normal file
34
src/gitea/README.md
Normal file
@@ -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 <http://localhost:3000> in your browser.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Gitea Documentation](https://docs.gitea.com/)
|
||||
- [Helm Chart Source](https://gitea.com/gitea/helm-chart)
|
||||
34
src/gitea/README.zh.md
Normal file
34
src/gitea/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:3000>。
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Gitea 文档](https://docs.gitea.com/)
|
||||
- [Helm Chart 源码](https://gitea.com/gitea/helm-chart)
|
||||
32
src/gitea/values.yaml
Normal file
32
src/gitea/values.yaml
Normal file
@@ -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
|
||||
16
src/gitlab-runner/Makefile
Normal file
16
src/gitlab-runner/Makefile
Normal file
@@ -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
|
||||
35
src/gitlab-runner/README.md
Normal file
35
src/gitlab-runner/README.md
Normal file
@@ -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)
|
||||
35
src/gitlab-runner/README.zh.md
Normal file
35
src/gitlab-runner/README.zh.md
Normal file
@@ -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)
|
||||
29
src/gitlab-runner/values.yaml
Normal file
29
src/gitlab-runner/values.yaml
Normal file
@@ -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"
|
||||
16
src/gitlab/Makefile
Normal file
16
src/gitlab/Makefile
Normal file
@@ -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
|
||||
40
src/gitlab/README.md
Normal file
40
src/gitlab/README.md
Normal file
@@ -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 <http://localhost:8080> 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)
|
||||
40
src/gitlab/README.zh.md
Normal file
40
src/gitlab/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8080>。
|
||||
|
||||
获取初始 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)
|
||||
27
src/gitlab/values.yaml
Normal file
27
src/gitlab/values.yaml
Normal file
@@ -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
|
||||
16
src/grafana/Makefile
Normal file
16
src/grafana/Makefile
Normal file
@@ -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
|
||||
36
src/grafana/README.md
Normal file
36
src/grafana/README.md
Normal file
@@ -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 <http://localhost:3000> 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)
|
||||
36
src/grafana/README.zh.md
Normal file
36
src/grafana/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:3000>。
|
||||
|
||||
默认凭据:admin/admin
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Grafana 文档](https://grafana.com/docs/)
|
||||
- [Helm Chart 源码](https://github.com/grafana/helm-charts/tree/main/charts/grafana)
|
||||
26
src/grafana/values.yaml
Normal file
26
src/grafana/values.yaml
Normal file
@@ -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
|
||||
16
src/harbor/Makefile
Normal file
16
src/harbor/Makefile
Normal file
@@ -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
|
||||
36
src/harbor/README.md
Normal file
36
src/harbor/README.md
Normal file
@@ -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 <http://localhost:8080> in your browser.
|
||||
|
||||
Default credentials: admin/Harbor12345
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Harbor Documentation](https://goharbor.io/docs/)
|
||||
- [Helm Chart Source](https://github.com/goharbor/harbor-helm)
|
||||
36
src/harbor/README.zh.md
Normal file
36
src/harbor/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8080>。
|
||||
|
||||
默认凭据:admin/Harbor12345
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Harbor 文档](https://goharbor.io/docs/)
|
||||
- [Helm Chart 源码](https://github.com/goharbor/harbor-helm)
|
||||
22
src/harbor/values.yaml
Normal file
22
src/harbor/values.yaml
Normal file
@@ -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
|
||||
16
src/hbase/Makefile
Normal file
16
src/hbase/Makefile
Normal file
@@ -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
|
||||
32
src/hbase/README.md
Normal file
32
src/hbase/README.md
Normal file
@@ -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)
|
||||
32
src/hbase/README.zh.md
Normal file
32
src/hbase/README.zh.md
Normal file
@@ -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)
|
||||
22
src/hbase/values.yaml
Normal file
22
src/hbase/values.yaml
Normal file
@@ -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
|
||||
16
src/kong/Makefile
Normal file
16
src/kong/Makefile
Normal file
@@ -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
|
||||
38
src/kong/README.md
Normal file
38
src/kong/README.md
Normal file
@@ -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)
|
||||
38
src/kong/README.zh.md
Normal file
38
src/kong/README.zh.md
Normal file
@@ -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)
|
||||
27
src/kong/values.yaml
Normal file
27
src/kong/values.yaml
Normal file
@@ -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
|
||||
16
src/litellm/Makefile
Normal file
16
src/litellm/Makefile
Normal file
@@ -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
|
||||
28
src/litellm/README.md
Normal file
28
src/litellm/README.md
Normal file
@@ -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)
|
||||
28
src/litellm/README.zh.md
Normal file
28
src/litellm/README.zh.md
Normal file
@@ -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)
|
||||
22
src/litellm/values.yaml
Normal file
22
src/litellm/values.yaml
Normal file
@@ -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
|
||||
16
src/loki/Makefile
Normal file
16
src/loki/Makefile
Normal file
@@ -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
|
||||
29
src/loki/README.md
Normal file
29
src/loki/README.md
Normal file
@@ -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)
|
||||
29
src/loki/README.zh.md
Normal file
29
src/loki/README.zh.md
Normal file
@@ -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)
|
||||
18
src/loki/values.yaml
Normal file
18
src/loki/values.yaml
Normal file
@@ -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
|
||||
16
src/mlflow/Makefile
Normal file
16
src/mlflow/Makefile
Normal file
@@ -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
|
||||
34
src/mlflow/README.md
Normal file
34
src/mlflow/README.md
Normal file
@@ -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 <http://localhost:5000> 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)
|
||||
34
src/mlflow/README.zh.md
Normal file
34
src/mlflow/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:5000>。
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 MLflow 文档](https://mlflow.org/docs/latest/index.html)
|
||||
- [Helm Chart 源码](https://github.com/community-charts/helm-charts/tree/main/charts/mlflow)
|
||||
26
src/mlflow/values.yaml
Normal file
26
src/mlflow/values.yaml
Normal file
@@ -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
|
||||
16
src/mysql/Makefile
Normal file
16
src/mysql/Makefile
Normal file
@@ -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
|
||||
33
src/mysql/README.md
Normal file
33
src/mysql/README.md
Normal file
@@ -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)
|
||||
33
src/mysql/README.zh.md
Normal file
33
src/mysql/README.zh.md
Normal file
@@ -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)
|
||||
19
src/mysql/values.yaml
Normal file
19
src/mysql/values.yaml
Normal file
@@ -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
|
||||
16
src/nacos/Makefile
Normal file
16
src/nacos/Makefile
Normal file
@@ -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
|
||||
36
src/nacos/README.md
Normal file
36
src/nacos/README.md
Normal file
@@ -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 <http://localhost:8848/nacos> 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)
|
||||
36
src/nacos/README.zh.md
Normal file
36
src/nacos/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8848/nacos>。
|
||||
|
||||
默认凭据:nacos/nacos
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Nacos 文档](https://nacos.io/zh-cn/docs/what-is-nacos.html)
|
||||
- [Helm Chart 源码](https://github.com/nacos-group/nacos-k8s)
|
||||
21
src/nacos/values.yaml
Normal file
21
src/nacos/values.yaml
Normal file
@@ -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
|
||||
16
src/neo4j/Makefile
Normal file
16
src/neo4j/Makefile
Normal file
@@ -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
|
||||
34
src/neo4j/README.md
Normal file
34
src/neo4j/README.md
Normal file
@@ -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 <http://localhost:7474> in your browser.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Neo4j Documentation](https://neo4j.com/docs/)
|
||||
- [Helm Chart Source](https://github.com/neo4j/helm-charts)
|
||||
34
src/neo4j/README.zh.md
Normal file
34
src/neo4j/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:7474>。
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Neo4j 文档](https://neo4j.com/docs/)
|
||||
- [Helm Chart 源码](https://github.com/neo4j/helm-charts)
|
||||
17
src/neo4j/values.yaml
Normal file
17
src/neo4j/values.yaml
Normal file
@@ -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
|
||||
16
src/open-webui/Makefile
Normal file
16
src/open-webui/Makefile
Normal file
@@ -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
|
||||
34
src/open-webui/README.md
Normal file
34
src/open-webui/README.md
Normal file
@@ -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 <http://localhost:8080> in your browser.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Open WebUI Documentation](https://docs.openwebui.com/)
|
||||
- [Helm Chart Source](https://github.com/open-webui/helm-charts)
|
||||
34
src/open-webui/README.zh.md
Normal file
34
src/open-webui/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:8080>。
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Open WebUI 文档](https://docs.openwebui.com/)
|
||||
- [Helm Chart 源码](https://github.com/open-webui/helm-charts)
|
||||
19
src/open-webui/values.yaml
Normal file
19
src/open-webui/values.yaml
Normal file
@@ -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
|
||||
16
src/prometheus/Makefile
Normal file
16
src/prometheus/Makefile
Normal file
@@ -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
|
||||
34
src/prometheus/README.md
Normal file
34
src/prometheus/README.md
Normal file
@@ -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 <http://localhost:9090> in your browser.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Official Prometheus Documentation](https://prometheus.io/docs/)
|
||||
- [Helm Chart Source](https://github.com/prometheus-community/helm-charts)
|
||||
34
src/prometheus/README.zh.md
Normal file
34
src/prometheus/README.zh.md
Normal file
@@ -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
|
||||
```
|
||||
|
||||
然后在浏览器中打开 <http://localhost:9090>。
|
||||
|
||||
## 文档
|
||||
|
||||
- [官方 Prometheus 文档](https://prometheus.io/docs/)
|
||||
- [Helm Chart 源码](https://github.com/prometheus-community/helm-charts)
|
||||
14
src/prometheus/values.yaml
Normal file
14
src/prometheus/values.yaml
Normal file
@@ -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
|
||||
16
src/pulsar/Makefile
Normal file
16
src/pulsar/Makefile
Normal file
@@ -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
|
||||
32
src/pulsar/README.md
Normal file
32
src/pulsar/README.md
Normal file
@@ -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)
|
||||
32
src/pulsar/README.zh.md
Normal file
32
src/pulsar/README.zh.md
Normal file
@@ -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)
|
||||
19
src/pulsar/values.yaml
Normal file
19
src/pulsar/values.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user