Update agent deployment: HTTPS backend + MCP endpoints + improved resources
- Use HTTPS api.fuq.tv instead of internal service URL - Update MCP endpoint to /api/mcp (HTTP endpoints) - Increase resources: 500m-2000m CPU, 1-4Gi RAM - Add serviceAccount for RBAC - Update secrets template Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
32
k8s/agents/simple-pod.yaml
Normal file
32
k8s/agents/simple-pod.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: claude-agent
|
||||
namespace: agents
|
||||
spec:
|
||||
serviceAccountName: agent-sa
|
||||
containers:
|
||||
- name: claude
|
||||
image: oven/bun:1.3.6-alpine
|
||||
command: ["/bin/sh"]
|
||||
args: ["-c", "apk add --no-cache git bash curl openssh-client ca-certificates && bun install -g @anthropic-ai/claude-code && tail -f /dev/null"]
|
||||
workingDir: /workspace
|
||||
resources:
|
||||
requests:
|
||||
cpu: 200m
|
||||
memory: 512Mi
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 2Gi
|
||||
volumeMounts:
|
||||
- name: workspace
|
||||
mountPath: /workspace
|
||||
- name: kube-config
|
||||
mountPath: /root/.kube
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: workspace
|
||||
emptyDir: {}
|
||||
- name: kube-config
|
||||
secret:
|
||||
secretName: agent-kubeconfig
|
||||
Reference in New Issue
Block a user