kevin vs. other tools#

kevin combines four things: an environment that exists only while you use it, a DAG that runs independent steps in parallel, a proxy that terminates TLS, controls egress, and can intercept real hostnames, and a plugin protocol that any language can implement. This page compares kevin with other tools, from the most similar to the least.

Garden#

Garden is the most similar. A Garden project is a graph of actions run by providers, the same model as kevin’s steps and plugins, and it is for the same job: development and test environments, locally or in CI.

The differences are size and traffic control. Garden’s configuration has a project config, several action types (Build, Deploy, Run, Test), providers, and workflows. kevin has one file with a map of steps. Garden has no proxy: no TLS termination between services, no egress allow list, no log of requests, and no hostname interception.

If you use Garden and do not need traffic control, Garden covers the same job. kevin fits a small environment of containers and Kubernetes where you want to see and control the traffic.

Terraform or OpenTofu#

Terraform’s dependency graph is a DAG, and its providers are separate processes that use a gRPC plugin protocol. kevin’s plugin model uses the same idea.

The graphs have different purposes. Terraform’s state file maps configuration to long-lived resources, such as a virtual machine or a DNS record, across runs. kevin has no state file: it finds its resources by container labels, so a crashed run leaves nothing to reconcile. Terraform has no console, proxy, or egress control.

Use Terraform for the cloud resources an environment depends on. Use kevin for the local environment itself.

Docker Compose#

Compose is the closest in use: both start a set of containers from a file and remove them on command.

Compose orders containers with depends_on. kevin runs every step with no dependency in parallel. By default, depends_on waits until a container is running, and Compose needs a health check to wait for readiness. A kevin container step is ready once the container is running, and a wait step can add a TCP, HTTP, kubectl, or command check.

Compose is for a single host. It has no Kubernetes step, no TLS-terminating proxy, no egress control, and no way to send a real hostname to a local container without editing /etc/hosts.

For a few containers with no need for traffic control or Kubernetes, Compose is simpler. kevin fits when the environment includes Kubernetes, or when you need to see and control traffic between services.

Tilt#

Tilt is for Kubernetes. Its main feature is live update: it syncs code into a running container without a rebuild, and shows the result in a web UI. A Tiltfile is a Starlark program, not a declared graph of steps.

kevin reruns a step when files in its watch list change, but it does not sync code into a running container. kevin starts and removes an environment of containers and Kubernetes clusters in dependency order, with a TLS-terminating, egress-controlled proxy in front.

For fast changes to code in a cluster, use Tilt. To start and remove a mixed environment the same way each time, with egress control, use kevin.

Shell scripts#

A script needs nothing new to install or learn. For a few containers that rarely fail partway, a script is enough.

As the script grows, you write by hand what kevin provides:

  • Parallel steps need & and wait job control in every script.
  • Cleanup needs a trap. If one exit path skips it, a container stays running.
  • There is no view of the traffic between services, other than docker logs.
  • There is no egress control without your own firewall rules.
  • A new kind of service is more script, with no schema and no check of what one step gives the next.