Skip to main content

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


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.2.0.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

k3m-0.2.0-py3-none-any.whl (27.0 kB view details)

Uploaded Python 3

File details

Details for the file k3m-0.2.0.tar.gz.

File metadata

  • Download URL: k3m-0.2.0.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for k3m-0.2.0.tar.gz
Algorithm Hash digest
SHA256 eeb9068573c296079b47b036c0d052d85d548398db312d6ff2f50f485e96abbe
MD5 d9e9dff3f0c770ecf2788fa54e594f72
BLAKE2b-256 c0d31444ab502bed1b5a26b8f810c4db26582eb10f07477cb6af8e8278152122

See more details on using hashes here.

File details

Details for the file k3m-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: k3m-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 27.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for k3m-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 60b9d3f11fe118418a4ed4103d1ae8af809b0c20898af0660c6707d3776d7c50
MD5 1f4a19b4355e9112ae0ca6921ab0c9d3
BLAKE2b-256 6f433785e9236a0afa6f06ce65378c3f68f5bcb1384ab631ab289c97a983de3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page