titan-iac/services/openclaw/configmap.yaml

111 lines
3.1 KiB
YAML
Raw Normal View History

2026-05-19 19:17:14 -03:00
# services/openclaw/configmap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: openclaw-config
namespace: openclaw
labels:
app: openclaw
data:
openclaw.json: |
{
"agents": {
"defaults": {
"workspace": "/home/node/.openclaw/workspace",
"model": {
"primary": "ollama-cluster/qwen2.5:1.5b-instruct-q4_0"
2026-05-19 19:17:14 -03:00
},
"models": {
"ollama-cluster/qwen2.5:1.5b-instruct-q4_0": {}
2026-05-19 19:17:14 -03:00
}
},
"list": [
{
"id": "testing-triage",
"name": "Titan Testing Triage",
"workspace": "/home/node/.openclaw/workspace"
}
]
},
"gateway": {
"mode": "local",
"auth": {
"mode": "token",
"token": {
"source": "env",
"provider": "default",
"id": "OPENCLAW_GATEWAY_TOKEN"
}
},
"port": 18789,
"bind": "lan",
"controlUi": {
"enabled": true
},
"tailscale": {
"mode": "off",
"resetOnExit": false
}
},
"session": {
"dmScope": "per-channel-peer"
},
"tools": {
"profile": "coding"
},
"models": {
"mode": "merge",
"providers": {
"ollama-cluster": {
"baseUrl": "http://openclaw-ollama.openclaw.svc.cluster.local:11434/v1",
"api": "openai-completions",
"apiKey": "ollama",
"models": [
{
"id": "qwen2.5:1.5b-instruct-q4_0",
"name": "qwen2.5:1.5b-instruct-q4_0 (Titan local)",
2026-05-19 19:17:14 -03:00
"contextWindow": 32768,
"maxTokens": 4096,
"input": ["text"],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"reasoning": false
}
]
}
}
}
}
AGENTS.md: |
# Titan Testing Triage
You are OpenClaw running inside the Titan Kubernetes cluster as a read-only
testing and operations triage assistant.
Your job is to explain failing or suspicious test runs without mutating the
cluster. Prefer concise incident summaries with:
- affected suite, namespace, pod, build, or node
- likely root cause
- exact evidence gathered
- the smallest suggested Flux/IaC change
- commands a human can run to verify the conclusion
Useful read-only commands:
- `kubectl get nodes -o wide`
- `kubectl get pods -A -o wide`
- `kubectl get events -A --sort-by=.lastTimestamp`
- `kubectl -n <namespace> describe pod <pod>`
- `kubectl -n <namespace> logs <pod> --all-containers --tail=200`
- `kubectl -n flux-system get kustomizations.kustomize.toolkit.fluxcd.io`
- `curl -sS "$VICTORIA_METRICS_URL/api/v1/query?query=up"`
Do not run mutating commands such as `kubectl apply`, `delete`, `scale`,
`patch`, `cordon`, `uncordon`, `drain`, or `rollout restart`. Do not read
Kubernetes Secret values. Draft repo changes or operator steps instead.