Skip to main content

Deploy Kubernetes clusters from simplified YAML

Project description

kstack

kstack is a tool designed to simplify the deployment and management of Kubernetes clusters using a streamlined YAML configuration format. It abstracts complex Kubernetes configurations into a more user-friendly format, making it easier for developers and DevOps teams to manage their clusters.

Features

  • Simplified YAML configuration for Kubernetes resources.
  • Support for deployments, services, ingresses, secrets, and volumes.
  • Automatic validation of stack configurations against a JSON schema.
  • CLI commands for deploying, validating, and managing Kubernetes resources.

Installation

To install kstack, ensure you have Python 3.11 installed, then use poetry to install the dependencies:

poetry install

Usage

Validate a Stack

To validate a stack configuration file:

kstack validate examples/simple-deployment.yaml

Deploy a Stack

To deploy resources defined in a stack configuration file:

kstack deploy examples/simple-deployment.yaml

Destroy Resources

(Currently under development)

kstack destroy

Example

Here is an example of a simple deployment configuration:

apps:
    whoami:
        image: "containous/whoami"
        ports:
            - 8000:80

Development

To contribute to kstack, clone the repository and install the dependencies using poetry:

git clone https://github.com/eznix86/kstack.git
cd kstack
poetry install

License

kstack is licensed under the GNU General Public License v3.0 or later. 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 Distribution

kstack-0.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

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

kstack-0.1.1-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file kstack-0.1.1.tar.gz.

File metadata

  • Download URL: kstack-0.1.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for kstack-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5deeb4ceec25c3bf5642659b7d4b80499186ec07fbfb3c21fb82d7431ed94b67
MD5 5e91624685229f3c330cc609519086a1
BLAKE2b-256 866fc15476a8429035b2452f63d381a4cb717818639f6f62ae5ec94efb0f51bc

See more details on using hashes here.

File details

Details for the file kstack-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for kstack-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 34bd8b6451bbf6693bb36e3623eb606010683b10b64e1268d7b42d1d3b287c30
MD5 0c7903ec7d9e18780b9c3149f410a355
BLAKE2b-256 d4b026bf4fee0a4b437eaf052324c689271c090c671d3900bee9dcd35102bc05

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