deploy
All checks were successful
build / build (push) Successful in 6s

This commit is contained in:
a2a-platform
2026-05-10 00:44:29 +00:00
commit 5478277b76
7 changed files with 227 additions and 0 deletions

70
deploy/20-deployment.yaml Normal file
View File

@@ -0,0 +1,70 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: graph-agent
namespace: agents
labels:
app: graph-agent
a2a/managed-by: control-plane
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: graph-agent
template:
metadata:
labels:
app: graph-agent
spec:
containers:
- name: agent
image: registry.88-99-219-120.nip.io/agents/graph-agent:latest
imagePullPolicy: Always
ports:
- containerPort: 8000
name: http
readinessProbe:
httpGet: {path: /healthz, port: 8000}
initialDelaySeconds: 2
periodSeconds: 5
livenessProbe:
httpGet: {path: /healthz, port: 8000}
initialDelaySeconds: 10
periodSeconds: 15
resources:
requests: {cpu: 100m, memory: 256Mi}
limits: {cpu: 200m, memory: 256Mi}
---
apiVersion: v1
kind: Service
metadata:
name: graph-agent
namespace: agents
spec:
type: ClusterIP
selector:
app: graph-agent
ports:
- name: http
port: 80
targetPort: 8000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: graph-agent
namespace: agents
spec:
rules:
- host: graph-agent.88-99-219-120.nip.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: graph-agent
port:
number: 80