新增hermers,暂不启用
This commit is contained in:
@@ -0,0 +1,78 @@
|
|||||||
|
kind: Deployment
|
||||||
|
apiVersion: apps/v1
|
||||||
|
metadata:
|
||||||
|
name: hermers
|
||||||
|
namespace: hermers
|
||||||
|
spec:
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: hermers
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: hermers
|
||||||
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: data
|
||||||
|
hostPath:
|
||||||
|
path: /data/hermers
|
||||||
|
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: '*'
|
||||||
|
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: "[::]"
|
||||||
|
volumeMounts:
|
||||||
|
- name: data
|
||||||
|
mountPath: /opt/data
|
||||||
|
readOnly: true
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "256Mi"
|
||||||
|
cpu: "100m"
|
||||||
|
limits:
|
||||||
|
memory: "512Mi"
|
||||||
|
cpu: "500m"
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# yaml-language-server: $schema=https://json.schemastore.org/kustomization.json
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: hermers
|
||||||
|
resources:
|
||||||
|
- deploy.yaml
|
||||||
|
- services.yaml
|
||||||
|
images:
|
||||||
|
- name: image
|
||||||
|
newName: cr.wetofu.me/nousresearch/hermes-agent
|
||||||
|
newTag: v2026.5.16
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: hermers
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: hermers
|
||||||
|
ports:
|
||||||
|
- port: 8642
|
||||||
|
targetPort: gateway
|
||||||
|
name: gateway
|
||||||
|
- port: 9119
|
||||||
|
targetPort: dashboard
|
||||||
|
name: dashboard
|
||||||
|
ipFamilies:
|
||||||
|
- IPv4
|
||||||
|
- IPv6
|
||||||
|
ipFamilyPolicy: PreferDualStack
|
||||||
@@ -8,3 +8,7 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- port: 8080
|
||||||
targetPort: 18789
|
targetPort: 18789
|
||||||
|
ipFamilies:
|
||||||
|
- IPv4
|
||||||
|
- IPv6
|
||||||
|
ipFamilyPolicy: PreferDualStack
|
||||||
Reference in New Issue
Block a user