Skip to content

Using K3D cluster provider

RMK supports managing single-node Kubernetes clusters using K3D.

The CLI will create a cluster according to the declarative configuration for K3D.

Prerequisites

  1. Create a separate feature branch: feature/<issue_key>-<issue_number>-<issue_description>.
  2. Initialize configuration for this branch with the localhost root domain name.

Creating K3D clusters

Run the following command:

rmk cluster k3d create

By default, RMK will use the current directory for the –k3d-volume-host-path flag.

When the Kubernetes cluster is ready, RMK automatically switches the Kubernetes context to the newly created cluster. You can create multiple local K3D clusters by separating them using Git branches.

Deleting K3D clusters

Run the following command:

rmk cluster k3d delete

Last update: February 17, 2025