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-28 23:23:11 +00:00

93 lines
2.2 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
revisionHistoryLimit: 1
selector:
matchLabels:
app: test-helper
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
progressDeadlineSeconds: 900
template:
metadata:
labels:
app: test-helper
spec:
enableServiceLinks: false
terminationGracePeriodSeconds: 30
containers:
- name: agent
image: registry.a2acloud.io/agents/test-helper:562eeb8208dd9943b8a8b4f4461114e3bb95a87a
imagePullPolicy: Always
ports:
- containerPort: 8000
name: http1
protocol: TCP
readinessProbe:
httpGet: {path: /healthz, port: 8000}
initialDelaySeconds: 2
periodSeconds: 5
failureThreshold: 3
successThreshold: 1
timeoutSeconds: 1
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
annotations:
argocd.argoproj.io/sync-options: ServerSideApply=false,Replace=true
labels:
app: test-helper
a2a/managed-by: control-plane
spec:
selector:
app: test-helper
ports:
- name: http
port: 80
targetPort: 8000
protocol: TCP
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: test-helper
namespace: agents
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
spec:
tls:
- hosts: [test-helper.a2acloud.io]
secretName: test-helper-a2acloud-io-tls
rules:
- host: test-helper.a2acloud.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: test-helper
port:
number: 80