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.20.tar.gz (8.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.20-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: k3_cluster_cli-1.0.20.tar.gz
  • Upload date:
  • Size: 8.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.20.tar.gz
Algorithm Hash digest
SHA256 1d16ac2a144f3ce9515af1ff6d829135cf2f376f4cde77c5d8c84b55858b7269
MD5 76e36306ab218502a6f6f3a8414ea08b
BLAKE2b-256 8e866686e38c0465309d5b8fa0bc8ffee57d1c8560a91e6f3f87741c537b76f0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for k3_cluster_cli-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 a563785887d5448193d0a20455a3b14202b8d7b58f589822016c42eaad446dba
MD5 7c13c28918a96be0d8351f9137f09a7a
BLAKE2b-256 836bd4e6d3902191f4238968086e7c08781eb1f56f766c858b14032d3ab5607a

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