This repository has been archived on 2026-06-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
test-helper/deploy/20-deployment.yaml
2026-05-11 22:25:21 +00:00

71 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: test-helper
namespace: agents
labels:
app: test-helper
a2a/managed-by: control-plane
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: test-helper
template:
metadata:
labels:
app: test-helper
spec:
containers:
- name: agent
image: registry.a2acloud.io/agents/test-helper:880d6e4230a3ce18494359c0afc2c9621c4f5a95
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: 50m, memory: 128Mi}
limits: {cpu: 200m, memory: 256Mi}
---
apiVersion: v1
kind: Service
metadata:
name: test-helper
namespace: agents
spec:
type: ClusterIP
selector:
app: test-helper
ports:
- name: http
port: 80
targetPort: 8000
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-helper
namespace: agents
spec:
rules:
- host: test-helper.88-99-219-120.nip.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: test-helper
port:
number: 80