Cicada Distributed’s scalability and flexibility comes from being able to run a containerized testing workload. In the initial version of Cicada Distributed, this was only available in Docker. Cicada Distributed 1.2.0 introduces Kubernetes support to run those same workloads in a K8s cluster. In this tutorial, you’ll set up a local K8s cluster using k3d, (a lightweight version of Kubernetes that runs in Docker containers), modify the Cicada Distributed cluster for local usage with Kustomize, and use that to host the tests.
This guide is also available on the Cicada Distributed docsite.
k3d cluster create -p "8283:[email protected]" -p "8284:[email protected]"
This will create a cluster with two node ports exposed on
localhost:8284. Because these ports map to
30084 respectively in the cluster, we’ll also have to modify the install of Cicada using Kustomize.
#kubernetes #k3d #kustomize #cicada