Skip to main content

Minimal CLI for managing your K3s cluster

Project description

K3s Cluster CLI

Minimal CLI for managing your K3s cluster.

Installation

From PyPI (Recommended)

On Raspberry Pi / Debian-based systems:

pip install --break-system-packages k3-cluster-cli

On other systems:

pip install k3-cluster-cli

Alternative: Using pipx (recommended for CLI tools):

pipx install k3-cluster-cli

From Source

git clone https://gitlab.com/aleksey-lichtman/k3-cluster-cli.git
cd k3-cluster-cli
pip install -e .

Commands

cluster reboot   # Check cluster health and reboot
cluster health   # Watch live cluster info
cluster version  # Check for updates
cluster upgrade  # Upgrade to latest version

Requirements

  • Python 3.8+
  • kubectl (configured for your cluster)
  • Access to a K3s cluster

Development

Build the package:

python -m build

License

MIT License - see LICENSE for details.

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

k3_cluster_cli-1.0.14.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

k3_cluster_cli-1.0.14-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file k3_cluster_cli-1.0.14.tar.gz.

File metadata

  • Download URL: k3_cluster_cli-1.0.14.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for k3_cluster_cli-1.0.14.tar.gz
Algorithm Hash digest
SHA256 e975973070ab3788090f9c6fa3d0189f1577d0c9c54de4e8eb17128352e96a43
MD5 2a7cdb24a98a9df7bca057bcf564cad0
BLAKE2b-256 08e14932dc97920fdaff63cc4a43694a074cc83d5a5e520aac9a055c959e4745

See more details on using hashes here.

File details

Details for the file k3_cluster_cli-1.0.14-py3-none-any.whl.

File metadata

File hashes

Hashes for k3_cluster_cli-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 e72823c24dbcb8bcad0b03fd11210329bf37a9091bd3499106e34317799464f7
MD5 ef0fa43d36046243b1fd734292b3e04a
BLAKE2b-256 d5363f9f9c5b6d9d85c4796a5d3e83b1efcb7178af8f8602ab8d1e6b011841a2

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