Skip to main content

Kubepi CLI for easier k1s setup on Raspberry PIs.

Project description

Made with Python Travis (.org) branch PyPI PyPI - Downloads PyPI - Format GitHub

KubePI CLI for easier k1s setup on Raspberry PIs. See k1s on GitHub.

Usage

KubePI is a custom tool for making the k1s management easier for the K3D setup, dependencies, submodules, and more. It needs at least Python 3.7. Please check that you have Python 3.7 or later by running:

# Raspberry Pi OS (Raspbian) users
python3 --version
# Arch users
python --version

If you are not running Python 3.7 or later, please upgrade your Python version.

Follow these steps to install kubepi by using `pip`:

# Raspberry Pi OS (Raspbian) still shipping python2 by default
pip3 install kubepi
# Arch shipping python3 by default
pip install kubepi

Now you should have the kubepi command in your path and you can run kubepi to display the help:

pi@k1s:~$ kubepi
Usage: kubepi [OPTIONS] COMMAND [ARGS]...

KubePI CLI for easier k1s setup on Raspberry PIs.

Options:
--kube-context TEXT  The kubernetes context to use
-v, --verbosity LVL  Either CRITICAL, ERROR, WARNING, INFO or DEBUG
--help               Show this message and exit.

Commands:
apps       App commands
k3d        Manage k3d clusters
platform   Platform commands
preflight  Preflight checks
setup      Setup infrastructure services

To see the options of each command, just run:

kubepi <COMMAND> --help

For example:

pi@k1s:~$ kubepi k3d --help
Usage: kubepi k3d [OPTIONS] COMMAND [ARGS]...

Manage k3d clusters. The name of the cluster is taken from the option
--kube-context which defaults to 'k1s'

Options:
--help  Show this message and exit.

Commands:
create  Create cluster
delete  Delete cluster
start   Start cluster
status  Cluster status
stop    Stop cluster

Contributing

Please read CONTRIBUTING for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE file 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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

kubepi-1.0.3-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file kubepi-1.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: kubepi-1.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

File hashes

Hashes for kubepi-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15142c8ba7b0e8b747a9c75aec849e57abd225fd11ea3af3ad7f46f2e78bd63d
MD5 bdf70076f21f40c8a80da527abae5b70
BLAKE2b-256 3256360b84f7119035d45fd0970a5842cd095fc4523deb7b4af61f35bb57db30

See more details on using hashes here.

Supported by

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