Lightweight k3s cluster manager
Project description
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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
k3m-0.1.10.tar.gz
(18.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
k3m-0.1.10-py3-none-any.whl
(20.1 kB
view details)
File details
Details for the file k3m-0.1.10.tar.gz.
File metadata
- Download URL: k3m-0.1.10.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1851521f6baff3f8f7720354af20d64f0dcbd417c941bc5e96e15eec3a5d0376
|
|
| MD5 |
63b46f121ddcd14f9d6085b32ecfa28f
|
|
| BLAKE2b-256 |
392605020d9bd5faf48e2acc575e1b522572d4470ce8a7ad03ac75b046b0b4ad
|
File details
Details for the file k3m-0.1.10-py3-none-any.whl.
File metadata
- Download URL: k3m-0.1.10-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f330d079af41b38b7e1faa1cae6256710c68fa497219414dbe4727282b963130
|
|
| MD5 |
916207c5e904000d3794023312d99268
|
|
| BLAKE2b-256 |
e624a7163c229829d660960d4cb4e92197c58cca042dde56201a802ec36b52a5
|