爱马仕用过了,有点过于活跃,暂停使用

This commit is contained in:
Sense T
2026-05-25 07:39:36 +00:00
parent 5713b5f5ba
commit f591c618e4
8 changed files with 32 additions and 11 deletions
+85
View File
@@ -0,0 +1,85 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: hermes
namespace: hermes
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
app: hermes
template:
metadata:
labels:
app: hermes
spec:
volumes:
- name: data
hostPath:
path: /data/hermes
type: DirectoryOrCreate
containers:
- name: gateway
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
image: image
ports:
- containerPort: 8642
name: gateway
args:
- gateway
- run
env:
- name: TZ
value: "Asia/Shanghai"
- name: API_SERVER_ENABLED
value: "true"
- name: API_SERVER_HOST
value: "::"
- name: API_SERVER_CORS_ORIGINS
value: '*'
envFrom:
- secretRef:
name: hermes
optional: true
volumeMounts:
- name: data
mountPath: /opt/data
resources:
requests:
memory: "1Gi"
cpu: "500m"
limits:
memory: "4Gi"
cpu: "2"
- name: dashboard
image: image
args:
- dashboard
ports:
- containerPort: 9119
name: dashboard
env:
- name: TZ
value: Asia/Shanghai
- name: GATEWAY_HEALTH_URL
value: localhost:8642
- name: GATEWAY_HEALTH_TIMEOUT
value: "3"
- name: HERMES_DASHBOARD_HOST
value: "::"
envFrom:
- secretRef:
name: hermes
optional: true
volumeMounts:
- name: data
mountPath: /opt/data
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
+19
View File
@@ -0,0 +1,19 @@
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
kind: Kustomization
namespace: hermes
resources:
- deploy.yaml
- services.yaml
images:
- name: image
newName: cr.wetofu.me/nousresearch/hermes-agent
newTag: v2026.5.16
secretGenerator:
- name: hermes
files:
- secrets/TELEGRAM_REACTIONS
- secrets/TELEGRAM_BOT_TOKEN
- secrets/DEEPSEEK_API_KEY
- secrets/API_SERVER_KEY
- secrets/GATEWAY_ALLOW_ALL_USERS
type: Opaque
+1
View File
@@ -0,0 +1 @@
2RPjfv9Q62vjgr3Vshe4fxrqnaMRxp1jSuvZxr0WORBo10sjJX28DJu9rcM1euvG
+1
View File
@@ -0,0 +1 @@
sk-11ae8b4f84274f8c90f72d4fb2254c6b
+1
View File
@@ -0,0 +1 @@
true
+1
View File
@@ -0,0 +1 @@
8764216236:AAHwaI7PX7FN-5E77Y6hvpxePcKkPxMTUTw
+1
View File
@@ -0,0 +1 @@
true
+18
View File
@@ -0,0 +1,18 @@
apiVersion: v1
kind: Service
metadata:
name: hermes
spec:
selector:
app: hermes
ports:
- port: 8642
targetPort: gateway
name: gateway
- port: 9119
targetPort: dashboard
name: dashboard
ipFamilies:
- IPv4
- IPv6
ipFamilyPolicy: PreferDualStack