Connecting a cluster
1
Open Cloud Providers
In the sidebar, click Cloud Providers.
2
Choose Kubernetes
Click Connect provider → Kubernetes.
3
Upload your kubeconfig
Upload a kubeconfig file or paste its contents into the form. Give the cluster a display name.
4
Connect
Click Connect. InfraAudit reads the active context in the kubeconfig and connects to that cluster.
What InfraAudit collects
After connecting a cluster, InfraAudit syncs the following workload data:
All Kubernetes resources appear in the main Resources and inventory view alongside your cloud resources, and can be filtered by cluster.
Drift detection for Kubernetes
InfraAudit detects two types of Kubernetes drift: Baseline snapshots — InfraAudit captures a baseline of your workloads on first sync. Subsequent scans flag configuration changes including:- Image tag changes (e.g.
nginx:1.24→nginx:latest) - Replica count changes made outside of a deployment rollout
- Resource limits removed or modified
- Environment variables added or changed
Vulnerability scanning for Kubernetes
For Kubernetes workloads, Trivy scans the container images referenced in your pods and deployments. Trigger a scan:vulnerability_scan job under Jobs to run against your Kubernetes providers automatically.
Multi-cluster management
InfraAudit shows a unified view across all registered clusters. Use the Cluster dropdown at the top of any workload view to filter by cluster.CLI reference
Next steps
- Drift detection — run drift scans against your Kubernetes workloads
- Vulnerabilities — review CVE findings for your container images
- Connecting cloud accounts — detailed RBAC and credential requirements