Projeto do Agent Contas ORACLE
This commit is contained in:
45
agent_framework_oci/deploy/k8s/ai-gateway.yaml
Normal file
45
agent_framework_oci/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
agent_framework_oci/deploy/k8s/evaluator/cronjob.yaml
Normal file
20
agent_framework_oci/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
|
||||
44
agent_framework_oci/deploy/k8s/mcp-gateway.yaml
Normal file
44
agent_framework_oci/deploy/k8s/mcp-gateway.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: mcp-gateway
|
||||
labels:
|
||||
app: mcp-gateway
|
||||
spec:
|
||||
replicas: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: mcp-gateway
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: mcp-gateway
|
||||
spec:
|
||||
serviceAccountName: mcp-gateway-sa
|
||||
containers:
|
||||
- name: mcp-gateway
|
||||
image: registry.example.com/agent-platform/mcp-gateway:1.0.0
|
||||
ports:
|
||||
- containerPort: 8300
|
||||
env:
|
||||
- name: MCP_GATEWAY_CONFIG_PATH
|
||||
value: /app/config/mcp_gateway.yaml
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /ready
|
||||
port: 8300
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8300
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: mcp-gateway
|
||||
spec:
|
||||
selector:
|
||||
app: mcp-gateway
|
||||
ports:
|
||||
- port: 8300
|
||||
targetPort: 8300
|
||||
Reference in New Issue
Block a user