爱马仕更新

This commit is contained in:
Sense T
2026-05-26 03:42:59 +00:00
parent 646e09c4d8
commit e30f154af4
3 changed files with 40 additions and 7 deletions
+33 -4
View File
@@ -4,6 +4,7 @@ metadata:
name: hermes name: hermes
namespace: hermes namespace: hermes
spec: spec:
strategy: strategy:
type: Recreate type: Recreate
replicas: 1 replicas: 1
@@ -15,13 +16,25 @@ spec:
labels: labels:
app: hermes app: hermes
spec: spec:
securityContext:
fsGroup: 1000
volumes: volumes:
- name: data - name: data
hostPath: hostPath:
path: /data/hermes path: /data/hermes
type: DirectoryOrCreate type: DirectoryOrCreate
- name: tools
hostPath:
path: /data/tools
type: DirectoryOrCreate
- name: projects
hostPath:
path: /data/code-server/coder
type: DirectoryOrCreate
- name: tmp
emptyDir: {}
containers: containers:
- name: gateway - name: gateway
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16 #image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
image: image image: image
ports: ports:
@@ -43,9 +56,21 @@ spec:
- secretRef: - secretRef:
name: hermes name: hermes
optional: true optional: true
- configMapRef:
name: hermes
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /opt/data mountPath: /opt/data
- name: tools
mountPath: /opt/data/home/.local
subPath: .local
- name: tools
mountPath: /opt/data/home/.config
subPath: .config
- name: projects
mountPath: /opt/data/workspace/Projects
- name: tmp
mountPath: /tmp
resources: resources:
requests: requests:
memory: "1Gi" memory: "1Gi"
@@ -73,13 +98,17 @@ spec:
- secretRef: - secretRef:
name: hermes name: hermes
optional: true optional: true
- configMapRef:
name: hermes
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /opt/data mountPath: /opt/data
- name: tmp
mountPath: /tmp
resources: resources:
requests: requests:
memory: "256Mi" memory: "256Mi"
cpu: "100m" cpu: "100m"
limits: limits:
memory: "512Mi" memory: "512Mi"
cpu: "500m" cpu: "500m"
+7 -2
View File
@@ -15,5 +15,10 @@ secretGenerator:
- secrets/TELEGRAM_BOT_TOKEN - secrets/TELEGRAM_BOT_TOKEN
- secrets/DEEPSEEK_API_KEY - secrets/DEEPSEEK_API_KEY
- secrets/API_SERVER_KEY - secrets/API_SERVER_KEY
- secrets/GATEWAY_ALLOW_ALL_USERS type: Opaque
type: Opaque configMapGenerator:
- name: hermes
files:
- config/GATEWAY_ALLOW_ALL_USERS
- config/TELEGRAM_OBSERVE_UNMENTIONED_GROUP_MESSAGES
- config/TELEGRAM_REQUIRE_MENTION
-1
View File
@@ -1 +0,0 @@
true