Configuration
Overview
The OpsWorker Kubernetes Agent is configured through Helm values during installation or upgrade.
Options
Required
| Value | Description |
|---|---|
clusterToken | Authentication token from the OpsWorker portal (required) |
Resources
| Value | Default | Description |
|---|---|---|
resources.requests.cpu | 100m | CPU request |
resources.requests.memory | 128Mi | Memory request |
resources.limits.cpu | 200m | CPU limit |
resources.limits.memory | 256Mi | Memory limit |
Scheduling
| Value | Default | Description |
|---|---|---|
nodeSelector | {} | Node selector for pod scheduling |
tolerations | [] | Tolerations for tainted nodes |
affinity | {} | Affinity rules for pod placement |
Network
| Value | Default | Description |
|---|---|---|
proxy.http | — | HTTP proxy URL |
proxy.https | — | HTTPS proxy URL |
proxy.noProxy | — | No-proxy list |
Image
| Value | Default | Description |
|---|---|---|
image.repository | opsworker/agent | Container image repository |
image.tag | Latest | Specific agent version |
image.pullPolicy | IfNotPresent | Image pull policy |
Grafana MCP (Optional)
Enable the Grafana MCP sidecar to allow AI agents to query your Grafana instance during investigations and chat. This is a separate integration from Grafana Alerting (webhook). See Grafana MCP Setup.
| Value | Default | Description |
|---|---|---|
grafana-mcp.enabled | false | Enable the Grafana MCP sidecar |
grafana-mcp.grafanaUrl | — | Your Grafana instance URL (e.g., https://grafana.example.com) |
grafana-mcp.grafanaToken | — | Grafana service account token (Viewer role) |
Example values.yaml
clusterToken: "your-cluster-token-here"
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 200m
memory: 512Mi
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: "dedicated"
operator: "Equal"
value: "monitoring"
effect: "NoSchedule"
proxy:
https: "http://proxy.internal:3128"
noProxy: "10.0.0.0/8,172.16.0.0/12"
# Optional: Enable Grafana MCP for observability queries
grafana-mcp:
enabled: true
grafanaUrl: "https://grafana.example.com"
grafanaToken: "glsa_xxxxxxxxxxxx"
Applying Configuration Changes
Update configuration with helm upgrade:
helm upgrade opsworker-agent opsworker/opsworker-agent \
-n opsworker \
-f values.yaml
Or override individual values:
helm upgrade opsworker-agent opsworker/opsworker-agent \
-n opsworker \
--set resources.limits.memory=512Mi