k6ctl
v1.2.0
Published
CLI tool to run k6 tests on Kubernetes using k6-operator
Downloads
135
Maintainers
Readme
k6ctl
A CLI tool to simplify running k6 tests on Kubernetes using the k6-operator.
Overview
k6ctl eliminates the need to manually run kubectl commands to create ConfigMaps, apply TestRun manifests, and manage k6 tests in Kubernetes. Instead, you configure your test settings once and run tests with a simple command.
Installation
npm install -g k6ctlOr use it directly with npx:
npx k6ctl run path/to/test.jsConfiguration
Create a k6ctl.config.js file in the root of your k6 scripts project:
Usage
Run a k6 test:
k6ctl run large-test-1.jsOptions
Additional Commands
Requirements
- Node.js >= 18.0.0
- kubectl configured with access to your Kubernetes cluster
- k6-operator installed in your cluster
License
MIT
