爱马仕用过了,有点过于活跃,暂停使用
This commit is contained in:
@@ -1,24 +1,24 @@
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: hermers
|
name: hermes
|
||||||
namespace: hermers
|
namespace: hermes
|
||||||
spec:
|
spec:
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: hermers
|
app: hermes
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: hermers
|
app: hermes
|
||||||
spec:
|
spec:
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /data/hermers
|
path: /data/hermes
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
containers:
|
containers:
|
||||||
- name: gateway
|
- name: gateway
|
||||||
@@ -36,9 +36,13 @@ spec:
|
|||||||
- name: API_SERVER_ENABLED
|
- name: API_SERVER_ENABLED
|
||||||
value: "true"
|
value: "true"
|
||||||
- name: API_SERVER_HOST
|
- name: API_SERVER_HOST
|
||||||
value: "[::]"
|
value: "::"
|
||||||
- name: API_SERVER_CORS_ORIGINS
|
- name: API_SERVER_CORS_ORIGINS
|
||||||
value: '*'
|
value: '*'
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: hermes
|
||||||
|
optional: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/data
|
mountPath: /opt/data
|
||||||
@@ -64,11 +68,14 @@ spec:
|
|||||||
- name: GATEWAY_HEALTH_TIMEOUT
|
- name: GATEWAY_HEALTH_TIMEOUT
|
||||||
value: "3"
|
value: "3"
|
||||||
- name: HERMES_DASHBOARD_HOST
|
- name: HERMES_DASHBOARD_HOST
|
||||||
value: "[::]"
|
value: "::"
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: hermes
|
||||||
|
optional: true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/data
|
mountPath: /opt/data
|
||||||
readOnly: true
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
namespace: hermers
|
namespace: hermes
|
||||||
resources:
|
resources:
|
||||||
- deploy.yaml
|
- deploy.yaml
|
||||||
- services.yaml
|
- services.yaml
|
||||||
@@ -8,3 +8,12 @@ images:
|
|||||||
- name: image
|
- name: image
|
||||||
newName: cr.wetofu.me/nousresearch/hermes-agent
|
newName: cr.wetofu.me/nousresearch/hermes-agent
|
||||||
newTag: v2026.5.16
|
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
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
2RPjfv9Q62vjgr3Vshe4fxrqnaMRxp1jSuvZxr0WORBo10sjJX28DJu9rcM1euvG
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
sk-11ae8b4f84274f8c90f72d4fb2254c6b
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
true
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
8764216236:AAHwaI7PX7FN-5E77Y6hvpxePcKkPxMTUTw
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
true
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: hermers
|
name: hermes
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
app: hermers
|
app: hermes
|
||||||
ports:
|
ports:
|
||||||
- port: 8642
|
- port: 8642
|
||||||
targetPort: gateway
|
targetPort: gateway
|
||||||
Reference in New Issue
Block a user