Before you get started using KUTTL, you need to have a running Kubernetes cluster setup. If you already have a cluster there are no prerequisites. If you want to use the mocked control plane or Kind, you will need Kind.
- Setup a Kubernetes Cluster in version
1.13
or later - Install kubectl in version
1.13
or later.
Install the kubectl kuttl
plugin. To do so, please follow the CLI plugin installation instructions.
The KUTTL CLI leverages the kubectl plugin system, which gives you all its functionality under kubectl kuttl
.
Once you have a running cluster with kubectl
installed along with the KUTTL CLI plugin, you can run tests with KUTTL like so:
$ kubectl kuttl test path/to/test-suite
Learn more about KUTTL and check out how to get started with the KUTTL test harness.