Overview

Full name
docker.io/frezes/holmesgpt-frontend
Registry
docker.io
Namespace
frezes
Repository
holmesgpt-frontend
Cached tags
3
Last synced
07/06/2026, 04:08 PM

Introduction

HolmesGPT AIOps 对话前端镜像,提供 Kubernetes 故障排查与 Runbook 问答界面,需连接 HolmesGPT 后端 API 服务。

Details

frezes/holmesgpt-frontend 是 HolmesGPT 平台的浏览器 UI,SRE 在此以自然语言查询 Pod 日志、事件与 Prometheus 指标并获得修复建议。镜像为无状态 React/Vue 前端,通过环境变量指向 holmesgpt-api;不可脱离 LLM 后端与集群只读 RBAC 独立运行。与 Robusta、K8sGPT 相比偏对话式交互;生产应固定 tag、经 HTTPS Ingress 暴露,API URL 指向内网服务。

快速启动

docker run -d --name holmesgpt-frontend \
  -p 3000:3000 \
  -e REACT_APP_API_URL=http://holmesgpt-api:8080 \
  docker.io/frezes/holmesgpt-frontend:latest

推荐实践

docker run -d --name holmesgpt-frontend \
  --restart unless-stopped \
  -p 3000:3000 \
  -e REACT_APP_API_URL=https://holmesgpt-api.internal \
  -e TZ=Asia/Shanghai \
  docker.io/frezes/holmesgpt-frontend:0.3.0

核心参数说明

  • -p 3000:3000 — Web UI 访问端口
  • -e REACT_APP_API_URL — HolmesGPT 后端 API 基址
  • -e TZ — 界面时间显示时区
  • --restart unless-stopped — AIOps 控制台持续可用
  • 固定 tag — 与 holmesgpt-api 发行版同步
  • 依赖 — 后端需集群只读 ServiceAccount

Kubernetes

apiVersion: apps/v1
kind: Deployment
metadata:
  name: holmesgpt-frontend
spec:
  replicas: 2
  selector:
    matchLabels:
      app: holmesgpt-frontend
  template:
    metadata:
      labels:
        app: holmesgpt-frontend
    spec:
      containers:
        - name: frontend
          image: docker.io/frezes/holmesgpt-frontend:0.3.0
          ports:
            - containerPort: 3000
          env:
            - name: REACT_APP_API_URL
              value: http://holmesgpt-api:8080
---
apiVersion: v1
kind: Service
metadata:
  name: holmesgpt-frontend
spec:
  selector:
    app: holmesgpt-frontend
  ports:
    - port: 3000
      targetPort: 3000

前端无状态可 HPA;Ingress 配置 TLS,API 请求反代至 holmesgpt-api Service。

Latest tags (20)

View all 3 tags →
TagArchPushed AtSizeDigestSyncWishAction
docker.io/frezes/holmesgpt-frontend
:v0.2.0
linux/amd64
2025/11/17 16:5821.6 MBsha256:01940fd5c890
docker.io/frezes/holmesgpt-frontend
:v0.2.1
linux/amd64
2025/11/13 14:0421.6 MBsha256:5c70293176d7
docker.io/frezes/holmesgpt-frontend
:latest
linux/amd64
2025/09/18 15:4621.4 MBsha256:16890b7bdcc7