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)
Metadata
Release files for k3m 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| k3m-0.2.0.tar.gz | 24.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| k3m-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.1 kB
Release files / k3m-0.2.0.tar.gz
| Download URL | k3m-0.2.0.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeb9068573c296079b47b036c0d052d85d548398db312d6ff2f50f485e96abbe
|
|
BLAKE2b-256 checksum How to use checksums |
c0d31444ab502bed1b5a26b8f810c4db26582eb10f07477cb6af8e8278152122
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure
|
Release files / k3m-0.2.0-py3-none-any.whl
| Download URL | k3m-0.2.0-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60b9d3f11fe118418a4ed4103d1ae8af809b0c20898af0660c6707d3776d7c50
|
|
BLAKE2b-256 checksum How to use checksums |
6f433785e9236a0afa6f06ce65378c3f68f5bcb1384ab631ab289c97a983de3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure
|