Install Helm Chart¶
Deploy HolmesGPT as a service in your Kubernetes cluster with an HTTP API access.
When to use the Helm chart?
Most users should use the CLI or UI/TUI instead. Using the Helm chart is only recommended if you're building a custom integration over an HTTP API.
Prerequisites¶
- Kubernetes cluster
- Helm
- kubectl configured to access your cluster
- Supported AI Provider API key.
Installation¶
Add the Helm Repository
Install HolmesGPT
Using Secrets for API Keys¶
Create a secret for your AI provider API key:
Reference it in your values.yaml
:
HTTP API Usage¶
Access the Service¶
Port Forward (Development)¶
API Endpoints¶
Ask Questions¶
curl -X POST http://localhost:8080/ask \
-H "Content-Type: application/json" \
-d '{
"question": "what pods are failing in the default namespace?"
}'
Investigate Alerts¶
curl -X POST http://localhost:8080/investigate \
-H "Content-Type: application/json" \
-d '{
"alert": {
"name": "HighMemoryUsage",
"namespace": "production",
"pod": "web-app-123"
}
}'
Health Check¶
Response Format¶
{
"status": "success",
"result": "Analysis of your Kubernetes cluster shows...",
"investigation_id": "inv_123456",
"timestamp": "2024-01-15T10:30:00Z",
"toolsets_used": ["kubernetes", "prometheus"],
"recommendations": [
"Scale up the deployment",
"Check resource limits"
]
}
Upgrading¶
Uninstalling¶
Need Help?¶
- Check our Helm chart documentation
- Join our Slack community
- Report issues on GitHub