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/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