mirror of
https://github.com/hoshikawa2/agent_platform_oci.git
synced 2026-07-09 14:04:19 +00:00
First commit
This commit is contained in:
45
deploy/k8s/ai-gateway.yaml
Normal file
45
deploy/k8s/ai-gateway.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: ai-gateway
|
||||
labels:
|
||||
app.kubernetes.io/name: ai-gateway
|
||||
app.kubernetes.io/part-of: agent-framework-oci
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: ai-gateway
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: ai-gateway
|
||||
app.kubernetes.io/part-of: agent-framework-oci
|
||||
spec:
|
||||
serviceAccountName: agent-framework-oci
|
||||
containers:
|
||||
- name: ai-gateway
|
||||
image: ai-gateway:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 9100
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9100
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9100
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ai-gateway
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: ai-gateway
|
||||
ports:
|
||||
- name: http
|
||||
port: 9100
|
||||
targetPort: 9100
|
||||
20
deploy/k8s/evaluator/cronjob.yaml
Normal file
20
deploy/k8s/evaluator/cronjob.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
apiVersion: batch/v1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: agent-framework-evaluator
|
||||
spec:
|
||||
schedule: "0 2 * * *"
|
||||
suspend: true
|
||||
concurrencyPolicy: Forbid
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: evaluator
|
||||
image: agent-framework-evaluator:latest
|
||||
command: ["python", "-m", "evaluator.cli", "run-agents", "--source", "langfuse"]
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: agent-framework-evaluator-env
|
||||
45
deploy/k8s/mcp-gateway.yaml
Normal file
45
deploy/k8s/mcp-gateway.yaml
Normal file
@@ -0,0 +1,45 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mcp-gateway
|
||||
labels:
|
||||
app.kubernetes.io/name: mcp-gateway
|
||||
app.kubernetes.io/part-of: agent-framework-oci
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/name: mcp-gateway
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/name: mcp-gateway
|
||||
app.kubernetes.io/part-of: agent-framework-oci
|
||||
spec:
|
||||
serviceAccountName: agent-framework-oci
|
||||
containers:
|
||||
- name: mcp-gateway
|
||||
image: mcp-gateway:latest
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 9200
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9200
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 9200
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mcp-gateway
|
||||
spec:
|
||||
selector:
|
||||
app.kubernetes.io/name: mcp-gateway
|
||||
ports:
|
||||
- name: http
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
Reference in New Issue
Block a user