fix: make knative service spec stable
This commit is contained in:
@@ -18,6 +18,8 @@ spec:
|
||||
autoscaling.knative.dev/target: "1"
|
||||
spec:
|
||||
containerConcurrency: 1
|
||||
enableServiceLinks: false
|
||||
responseStartTimeoutSeconds: 600
|
||||
timeoutSeconds: 1200
|
||||
containers:
|
||||
- name: agent
|
||||
@@ -26,6 +28,7 @@ spec:
|
||||
ports:
|
||||
- containerPort: 8000
|
||||
name: http1
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: A2A_AGENT_IMAGE
|
||||
value: registry.a2acloud.io/agents/agent-builder:53ecc9a0cb96530a07b3ed6cd7f5b48ebb7b6b88
|
||||
@@ -50,6 +53,9 @@ spec:
|
||||
httpGet: {path: /healthz, port: 8000}
|
||||
initialDelaySeconds: 8
|
||||
periodSeconds: 5
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
livenessProbe:
|
||||
httpGet: {path: /healthz, port: 8000}
|
||||
initialDelaySeconds: 25
|
||||
@@ -57,6 +63,9 @@ spec:
|
||||
resources:
|
||||
requests: {cpu: 200m, memory: 512Mi}
|
||||
limits: {cpu: 1, memory: 1Gi}
|
||||
traffic:
|
||||
- latestRevision: true
|
||||
percent: 100
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
|
||||
Reference in New Issue
Block a user