deploy test-helper as deployment

This commit is contained in:
robert
2026-05-27 23:29:09 -03:00
parent b2c3ab3ce1
commit f9674f2927

View File

@@ -1,5 +1,5 @@
apiVersion: serving.knative.dev/v1 apiVersion: apps/v1
kind: Service kind: Deployment
metadata: metadata:
name: test-helper name: test-helper
namespace: agents namespace: agents
@@ -7,20 +7,24 @@ metadata:
app: test-helper app: test-helper
a2a/managed-by: control-plane a2a/managed-by: control-plane
spec: spec:
replicas: 1
revisionHistoryLimit: 1
selector:
matchLabels:
app: test-helper
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
progressDeadlineSeconds: 900
template: template:
metadata: metadata:
labels: labels:
app: test-helper app: test-helper
annotations:
autoscaling.knative.dev/minScale: "0"
autoscaling.knative.dev/maxScale: "1"
autoscaling.knative.dev/metric: concurrency
autoscaling.knative.dev/target: "1"
spec: spec:
containerConcurrency: 1
enableServiceLinks: false enableServiceLinks: false
responseStartTimeoutSeconds: 600 terminationGracePeriodSeconds: 30
timeoutSeconds: 600
containers: containers:
- name: agent - name: agent
image: registry.a2acloud.io/agents/test-helper:d9859bf06fefd98fa38d408dcb8978663449ef2e image: registry.a2acloud.io/agents/test-helper:d9859bf06fefd98fa38d408dcb8978663449ef2e
@@ -43,9 +47,25 @@ spec:
resources: resources:
requests: {cpu: 50m, memory: 128Mi} requests: {cpu: 50m, memory: 128Mi}
limits: {cpu: 200m, memory: 256Mi} limits: {cpu: 200m, memory: 256Mi}
traffic: ---
- latestRevision: true apiVersion: v1
percent: 100 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 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress