Files
cp1-agents/docs/source-material/agent-shapes/subagent-pattern/kubernetes/deployment.yaml
Jonathan Boniface 416c66ced4
All checks were successful
check agents / check (push) Successful in 10s
Add CP1 Discovery agents in both patterns
ALZ-F01 Discovery as a sub-agent orchestrator (sub-agents/) and as eight
individual declarative agents (individual-agents/), with their KAB workflow
exports. Shared check, render and import scripts, the alz-discovery-sample
MCP server, the crucible-kab-dev deploy profile, deployment docs, platform
issue reports and the source material. Agent steps time out at 20 minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 18:25:57 +00:00

82 lines
3.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: <placeholder_for_agent_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
labels:
app: <placeholder_for_agent_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
repo: <placeholder_for_repo_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
spec:
replicas: 1
selector:
matchLabels:
app: <placeholder_for_agent_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
template:
metadata:
labels:
app: <placeholder_for_agent_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
spec:
imagePullSecrets:
- name: jfrog-secret
containers:
- name: <placeholder_for_agent_name> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
image: <placeholder_for_image> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
imagePullPolicy: Always
ports:
- containerPort: <placeholder_for_port> # Do not modify, this will be replaced during deployment by the CI/CD pipeline
name: http
# Load all environment variables from ConfigMap and Secrets
envFrom:
- secretRef:
name: <placeholder_for_agent_name>-secrets # Do not modify, this will be replaced during deployment by the CI/CD pipeline
optional: true
- secretRef:
name: <placeholder_for_agent_name>-dotenv-secrets # Do not modify, this will be replaced during deployment by the CI/CD pipeline
optional: true
- configMapRef:
name: <placeholder_for_agent_name>-config # Do not modify, this will be replaced during deployment by the CI/CD pipeline
# The platform's connections, the same for every agent: the model
# gateway, the MCP gateway and where telemetry goes. Last, so they win
# over anything above; an agent does not choose them. Created by the
# platform's Helm chart in this namespace.
- configMapRef:
name: agent-platform-connections
optional: true
# Platform-provided credentials
env:
- name: LITELLM_MASTER_KEY
valueFrom:
secretKeyRef:
name: agent-builder-secrets
key: litellm-master-key
volumeMounts:
- name: execution-storage
mountPath: /data/executions
resources:
requests:
memory: "128Mi"
cpu: "10m"
limits:
memory: "1024Mi"
cpu: "1000m"
# Health checks use A2A agent card endpoint
livenessProbe:
httpGet:
path: /.well-known/agent-card.json
port: <placeholder_for_port>
initialDelaySeconds: 30
periodSeconds: 60
timeoutSeconds: 10
failureThreshold: 5
readinessProbe:
httpGet:
path: /.well-known/agent-card.json
port: <placeholder_for_port>
initialDelaySeconds: 30
periodSeconds: 60
timeoutSeconds: 10
failureThreshold: 5
volumes:
- name: execution-storage
persistentVolumeClaim:
claimName: execution-storage-pvc # Same PVC name as core-components