爱马仕更新
This commit is contained in:
+33
-4
@@ -4,6 +4,7 @@ metadata:
|
||||
name: hermes
|
||||
namespace: hermes
|
||||
spec:
|
||||
|
||||
strategy:
|
||||
type: Recreate
|
||||
replicas: 1
|
||||
@@ -15,13 +16,25 @@ spec:
|
||||
labels:
|
||||
app: hermes
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
volumes:
|
||||
- name: data
|
||||
hostPath:
|
||||
path: /data/hermes
|
||||
type: DirectoryOrCreate
|
||||
- name: tools
|
||||
hostPath:
|
||||
path: /data/tools
|
||||
type: DirectoryOrCreate
|
||||
- name: projects
|
||||
hostPath:
|
||||
path: /data/code-server/coder
|
||||
type: DirectoryOrCreate
|
||||
- name: tmp
|
||||
emptyDir: {}
|
||||
containers:
|
||||
- name: gateway
|
||||
- name: gateway
|
||||
#image: cr.wetofu.me/nousresearch/hermes-agent:v2026.5.16
|
||||
image: image
|
||||
ports:
|
||||
@@ -43,9 +56,21 @@ spec:
|
||||
- secretRef:
|
||||
name: hermes
|
||||
optional: true
|
||||
- configMapRef:
|
||||
name: hermes
|
||||
volumeMounts:
|
||||
- name: 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:
|
||||
requests:
|
||||
memory: "1Gi"
|
||||
@@ -73,13 +98,17 @@ spec:
|
||||
- secretRef:
|
||||
name: hermes
|
||||
optional: true
|
||||
- configMapRef:
|
||||
name: hermes
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /opt/data
|
||||
- name: data
|
||||
mountPath: /opt/data
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
resources:
|
||||
requests:
|
||||
memory: "256Mi"
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: "512Mi"
|
||||
cpu: "500m"
|
||||
cpu: "500m"
|
||||
|
||||
@@ -15,5 +15,10 @@ secretGenerator:
|
||||
- secrets/TELEGRAM_BOT_TOKEN
|
||||
- secrets/DEEPSEEK_API_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 +0,0 @@
|
||||
true
|
||||
Reference in New Issue
Block a user