refactor: spilt operator/..

This commit is contained in:
Sun-ZhenXing
2026-04-15 10:44:10 +08:00
parent 72700c4db0
commit d0933d7b55
90 changed files with 2710 additions and 1107 deletions
+15
View File
@@ -0,0 +1,15 @@
HELM_RELEASE_NAME ?= openlit
HELM_APPLICATION_NAME ?= openlit
HELM_NAMESPACE ?= openlit
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 ?= openlit
HELM_REPO_URL ?= https://openlit.github.io/helm/
HELM_CHART_REPO ?= $(HELM_REPO_NAME)/openlit
include ../_template/base.mk
+45
View File
@@ -0,0 +1,45 @@
# OpenLIT
## Introduction
OpenLIT is an open-source observability platform for AI/LLM applications. It provides monitoring, tracing, and analytics for AI workloads including OpenAI, HuggingFace, LangChain, and vector databases. This chart deploys the OpenLIT backend that receives and visualizes telemetry data.
For zero-code AI instrumentation of your applications, install the [openlit-operator](../openlit-operator/) which automatically injects OpenTelemetry instrumentation via init containers.
## Installation
To install OpenLIT, run:
```bash
make install
```
## Usage
After installation, verify the deployment:
```bash
kubectl get pods -n openlit
```
To access the OpenLIT dashboard, port-forward the service:
```bash
kubectl port-forward svc/openlit 8080:8080 -n openlit
```
Then access at <http://localhost:8080>
## Uninstall
To uninstall OpenLIT:
```bash
make uninstall
```
## Documentation
- [OpenLIT Documentation](https://docs.openlit.io/)
- [OpenLIT GitHub](https://github.com/openlit/openlit)
- [OpenLIT Operator](https://docs.openlit.io/latest/operator/overview)
+45
View File
@@ -0,0 +1,45 @@
# OpenLIT
## 简介
OpenLIT 是一个开源的 AI/LLM 应用可观测性平台。它为 AI 工作负载(包括 OpenAI、HuggingFace、LangChain 和向量数据库)提供监控、追踪和分析功能。此 Chart 部署 OpenLIT 后端,用于接收和可视化遥测数据。
如需对应用进行零代码 AI 探针注入,请安装 [openlit-operator](../openlit-operator/),它通过 init 容器自动注入 OpenTelemetry 探针。
## 安装
要安装 OpenLIT,请运行:
```bash
make install
```
## 使用
安装完成后,验证部署:
```bash
kubectl get pods -n openlit
```
要访问 OpenLIT 仪表板,请端口转发服务:
```bash
kubectl port-forward svc/openlit 8080:8080 -n openlit
```
然后在 <http://localhost:8080> 访问
## 卸载
卸载 OpenLIT
```bash
make uninstall
```
## 文档
- [OpenLIT 文档](https://docs.openlit.io/)
- [OpenLIT GitHub](https://github.com/openlit/openlit)
- [OpenLIT Operator](https://docs.openlit.io/latest/operator/overview)
+22
View File
@@ -0,0 +1,22 @@
# OpenLIT Helm Chart Values
# https://github.com/openlit/openlit
# OpenLIT backend configuration
openlit:
# AI observability configuration
ai:
enabled: true
# Resource configuration
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
# Service configuration
service:
type: ClusterIP
port: 8080