Diagnose Kubernetes pod failures in seconds—directly from your terminal.
Opsctrl CLI is an open-source command-line interface for DevOps and platform engineers. It enables rapid, intelligent diagnosis of Kubernetes pod issues by analyzing logs, events, and AI-powered insights.
Note: This CLI is part of the broader Opsctrl platform. While the CLI itself is open source, the full SaaS offering provides incident history, audit trails, Slack integrations, and team dashboards.
If you find this tool valuable, please consider starring the repository to support ongoing development.
- Diagnose pod issues using logs and event data
- Receive AI-powered suggestions and explanations
- Automatically record incidents in the Opsctrl backend
- Authenticate via
opsctrl login
(device code flow) - Integrates seamlessly with existing Kubernetes contexts
opsctrl login
— fully functionalopsctrl diagnose
— fully functional- AI-powered diagnostics — integrated
opsctrl fix
— coming in v0.2- Slack integration — planned
npm install -g opsctrl
curl -sSL https://opsctrl.dev/install.sh | bash
The script will download and install the latest binary for your platform.
Initiate authentication with the Opsctrl Cloud service. Implements a device code flow similar to Azure CLI or GitHub CLI.
Collect logs and event data for the specified pod and submit them for AI-powered analysis.
opsctrl diagnose nginx-crash --namespace dev
Preview or apply automated remediation suggestions.
- Credentials are stored securely in
~/.opsctrl/credentials.json
- Tokens are JWTs issued by the Opsctrl backend
- All CLI commands automatically include the authentication token
- CLI installation and login
- Log and event collection
- AI-powered diagnostics
- Automated remediation (
opsctrl fix
) - Slack notifications
- Web-based team dashboard
Contributions are welcome. To participate, please open an issue or submit a pull request.
This project is open to community contributions under a non-commercial license. Feel free to report issues, propose features, or contribute code.
Opsctrl CLI is maintained by Hillyon Labs. Designed to be secure, extensible, and composable for real-world DevOps workflows.
For access to the complete Opsctrl Cloud platform, including incident history, audit trails, Slack integration, and team dashboards, visit https://opsctrl.dev.
- Email: hello@opsctrl.dev
- Twitter: @opsctrl
- Website: https://opsctrl.dev
This software is licensed under the terms described in LICENSE.
© 2025 Hillyon Labs