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