Metadata-Version: 2.1
Name: kubepi
Version: 1.0.7
Summary: Kubepi CLI for easier k1s setup on Raspberry PIs.
Home-page: https://github.com/nushkovg/kubepi/
Author: nushkovg
Author-email: gnuskov@protonmail.com
License: mit
Project-URL: Documentation, https://github.com/nushkovg/kubepi/
Platform: Linux
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Utilities
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.7
Description-Content-Type: text/x-rst; charset=UTF-8
Requires-Dist: click (==7.1.1)
Requires-Dist: click-log (==0.3.2)
Requires-Dist: click-spinner (==0.1.8)
Requires-Dist: docker (==4.2.0)
Requires-Dist: gitpython (==3.1.1)
Requires-Dist: paramiko (>=2.7.1)
Requires-Dist: cryptography (>=2.9.1)
Provides-Extra: testing
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: pytest-cov ; extra == 'testing'

KubePI
======

.. image:: https://img.shields.io/badge/made%20with-python-1f425f.svg
    :target: https://www.python.org/
    :alt: Made with Python

.. image:: https://img.shields.io/travis/nushkovg/kubepi/master
    :target: https://img.shields.io/travis/nushkovg/kubepi/master
    :alt: Travis (.org) branch

.. image:: https://img.shields.io/pypi/v/kubepi
    :target: https://img.shields.io/pypi/v/kubepi
    :alt: PyPI

.. image:: https://img.shields.io/pypi/dm/kubepi
    :target: https://img.shields.io/pypi/dm/kubepi
    :alt: PyPI - Downloads

.. image:: https://img.shields.io/pypi/format/kubepi
    :target: https://img.shields.io/pypi/format/kubepi
    :alt: PyPI - Format

.. image:: https://img.shields.io/github/license/nushkovg/kubepi
    :target: https://img.shields.io/github/license/nushkovg/kubepi
    :alt: GitHub

KubePI CLI for easier k1s setup on Raspberry PIs. See `k1s on
GitHub <https://github.com/nushkovg/k1s>`__.

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:

.. code:: bash

    # 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\`:

.. code:: bash

    # 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:

.. code:: bash

    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:

.. code:: bash

    kubepi <COMMAND> --help

For example:

.. code:: bash

    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 <https://github.com/nushkovg/kubepi/blob/master/CONTRIBUTING.rst>`__
for details on our code of conduct, and the process for submitting pull
requests to us.

Versioning
----------

We use `SemVer <http://semver.org/>`__ for versioning. For the versions
available, see the `tags on this
repository <https://github.com/nushkovg/kubepi/tags>`__.

Authors
-------

-  `Goran Nushkov <https://github.com/nushkovg>`__

License
-------

This project is licensed under the MIT License - see the `LICENSE <https://github.com/nushkovg/kubepi/blob/master/LICENSE.txt>`__ file for details.


