1
0
Fork 0
mirror of https://github.com/eznix86/k3m.git synced 2026-07-25 20:38:53 +00:00
Run k3s over Canonical's multipass
Find a file
2025-04-15 00:44:00 +04:00
.github/workflows feat: relase k3m 2025-03-14 23:30:36 +04:00
src/k3m feat: add scale and more flags and tiny fixes 2025-04-15 00:44:00 +04:00
.gitignore feat: relase k3m 2025-03-14 23:30:36 +04:00
LICENSE feat: relase k3m 2025-03-14 23:30:36 +04:00
poetry.lock feat: add scale and more flags and tiny fixes 2025-04-15 00:44:00 +04:00
pyproject.toml feat: add scale and more flags and tiny fixes 2025-04-15 00:44:00 +04:00
README.md feat: relase k3m 2025-03-14 23:30:36 +04:00

k3m - Lightweight k3s Cluster Manager

A simple CLI tool to manage k3s clusters using canonical's multipass.

Installation

Ubuntu/Debian

sudo apt install pipx
pipx install k3m

MacOS

brew install pipx
pipx install k3m

Development Installation

# Clone the repository
git clone https://github.com/eznix86/k3m.git
cd k3m

# Install using poetry
poetry install

Usage

# Create a cluster
k3m cluster create my-cluster --servers 1 --agents 2

# List clusters
k3m cluster list

# Delete a cluster
k3m cluster delete my-cluster

# Start/Stop a cluster
k3m cluster start my-cluster
k3m cluster stop my-cluster

# Get kubeconfig
k3m kubeconfig write my-cluster
# or
export KUBECONFIG=$(k3m kubeconfig write my-cluster)