Helm Installation (K8s Installation)
What you'll learn: Deploy the Scoutflo Kubernetes Agent to enable AI-driven incident investigation and root-cause analysis across your Kubernetes infrastructure.
Overview
The Scoutflo Kubernetes Agent is a lightweight monitoring solution that provides deep visibility into your Kubernetes clusters. Once deployed, it automatically discovers and monitors your infrastructure to power intelligent incident response.
Prerequisites Checklist
Before starting the installation, ensure you have the required access and components:
✅ System Requirements
✅ Access Requirements
You have cluster-admin privileges or equivalent permissions to:
Create namespaces, deployments, services, ingresses
Manage RBAC resources (ServiceAccounts, ClusterRoles, ClusterRoleBindings)
Create and manage secrets
You have a dedicated installer role with permissions for:
Target namespace management
RBAC resource creation
Secret and ConfigMap management
See the Advanced RBAC section for detailed setup.
✅ DNS & TLS Requirements
Important: If you don't control DNS or TLS certificates, coordinate with your platform/infra team before proceeding.
Installation Guide
Deploy the Scoutflo Agent
Ready to install! The following command will deploy the agent with all necessary components.
Parameter Reference
ingress.hostname
FQDN where agent will be accessible
api-k8sagent.company.com
ingress.tls.wildcardHostname
Root domain for TLS certificate
company.com
auth.username
Agent authentication username
Provided by Scoutflo
auth.password
Agent authentication password
Provided by Scoutflo
auth.sessionSecret
Random session encryption key
Generate with openssl rand -hex 32
auth.deploymentId
Your Scoutflo deployment ID
Provided by Scoutflo
auth.agentId
Unique agent identifier
Provided by Scoutflo
Security Note: Replace all placeholder values (<...>) with actual values provided by the Scoutflo team. Never commit these values to version control.
Configure DNS
Create a DNS record pointing to your ingress controller's external IP:
Create an A record:
Name:
api-k8sagent(or your chosen subdomain)Type:
AValue:
<INGRESS_EXTERNAL_IP>TTL:
300
DNS Propagation: DNS changes can take 5-15 minutes to propagate. Test with nslookup api-k8sagent.your-domain.com
Using Scoutflo-Managed Subdomain
Use your own domain (recommended for production):
Use a Scoutflo-provided subdomain for testing:
Contact Scoutflo support to request a managed subdomain and TLS certificate.
Troubleshooting Guide
Common Issues & Solutions
Symptom
Possible Cause
Solution
ImagePullBackOff
Registry credentials invalid
Verify helm registry login was successful
CrashLoopBackOff
Configuration error
Check pod logs for auth/config issues
Pending state
Resource constraints
Check node resources and pod requests
Symptom
Possible Cause
Solution
Ingress not accessible
DNS misconfiguration
Verify A record points to correct IP
502/503 errors
Service/pod not ready
Check service endpoints and pod health
TLS certificate errors
cert-manager issues
Check certificate and challenge status
Symptom
Possible Cause
Solution
403 Forbidden errors
Insufficient permissions
Review and update ClusterRole rules
Unable to create resources
ServiceAccount issues
Verify ClusterRoleBinding is correct
Agent can't read cluster data
Missing RBAC rules
Add required API group permissions
Getting Help
If you're still experiencing issues:
Contact Scoutflo Support with:
Your Helm installation command (with secrets redacted)
The diagnostic files above
Your cluster information (provider, version, ingress controller)
Pro Tip: Most issues are resolved by verifying DNS, TLS certificates, or RBAC permissions. Double-check these first!
Next Steps
🎉 Congratulations! Your Scoutflo Kubernetes Agent is now monitoring your cluster and sending data to the Scoutflo platform.
Accessing Scoutflo
Log into your Scoutflo dashboard to view cluster insights
Configure alerting rules and notification channels
Explore the AI-powered incident investigation features
Questions or feedback? Reach out to the Scoutflo team at contact@scoutflo.com or join our community Slack.
Last updated