What does the Kubernetes integration do?
Steadwing connects to your Kubernetes clusters to access pod status, container logs, and cluster events during incident analysis. Steadwing analyzes pod health, resource utilization, and deployment states to identify infrastructure-related issues that correlate with production incidents.Why Use Kubernetes with Steadwing?
Pod Monitoring
Track pod status, restarts, and failures during incidents
Log Analysis
Access and analyze pod logs to identify error patterns
Resource Tracking
Monitor cluster resource usage and capacity issues
Event Correlation
Connect Kubernetes events to incident timing for better context
How do I connect Kubernetes to Steadwing?
Choose your platform and copy-paste the complete command block:- AWS EKS
- Google GKE
- Azure AKS
- Self-Hosted
steadwing-kubeconfig.yaml file.Upload to Steadwing
After running the commands above:- Option A: Copy the entire YAML output from your terminal
- Option B: Use the generated file
steadwing-kubeconfig.yaml - Go to Integrations → Kubernetes → Connect
- Upload or paste the kubeconfig content
- Done!
What This Creates
- Service account with read access and scoped write access for automated remediation
- Token valid for 10 years
- Read access to: pods, logs, events, deployments, jobs
- Write access to: workload scaling, pod management, configuration updates
- Isolated in
steadwingnamespace - Works with all Kubernetes versions 1.22+
What data does Steadwing pull from Kubernetes?
Data Collection
Steadwing queries Kubernetes for:- Pod Status - Running, pending, failed, and crashed pods
- Pod Logs - Container logs for error analysis
- Events - Cluster events related to scheduling, scaling, and failures
- Deployments - Deployment status and replica counts
- Resource Usage - Node and pod resource allocation
What permissions does the Kubernetes integration need?
Required Permissions
The service account has read access to:pods,pods/log- View pods and their logsevents- Read cluster eventsnodes,namespaces,services,endpoints- View cluster resourcesdeployments,replicasets,statefulsets,daemonsets- View workload statusjobs,cronjobs- View batch workloads
deployments,statefulsets,daemonsets,replicasets-patch,updatefor workload updatesdeployments/scale,statefulsets/scale,replicasets/scale-patch,updatefor scaling operationspods-create,deletefor pod managementpods/exec-createfor executing commands in podsconfigmaps,secrets,services-create,update,patchfor configuration changes
Security
- Read access for monitoring, scoped write access for automated remediation
- All write operations require explicit user approval before execution
- Token-based authentication
- Token expiration set to 1 year (renewable)
Uninstall
To remove the Steadwing integration from your cluster:FAQs
What Kubernetes versions are supported?
What Kubernetes versions are supported?
The integration works with Kubernetes 1.22 and later. It’s compatible with all major distributions including EKS, GKE, AKS, and self-hosted clusters.
Can Steadwing modify my cluster resources?
Can Steadwing modify my cluster resources?
Yes, Steadwing can execute approved infrastructure changes as part of automated remediation. Supported actions include scaling deployments, restarting pods, executing commands in pods, and updating configurations. All actions require explicit user approval before execution.
How long is the service account token valid?
How long is the service account token valid?
The token is generated with a 10-year (87600 hours) validity period. You’ll need to regenerate it after expiration by running the setup script again.
What happens if I delete the steadwing namespace?
What happens if I delete the steadwing namespace?
The integration will stop working. You’ll need to run the setup script again to recreate the service account and generate a new kubeconfig file.
Can I use this with multiple clusters?
Can I use this with multiple clusters?
Yes! Run the setup script for each cluster. Each cluster will generate its own kubeconfig file that you can upload separately to Steadwing.
Does this work with private clusters?
Does this work with private clusters?
Yes, as long as Steadwing can reach the cluster’s API server endpoint. For private clusters, you may need to configure network access or use a VPN.