Skip to main content

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.

Metadata

Release files for kstack 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kstack 0.1.1
File Size Uploaded
kstack-0.1.1.tar.gz 18.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kstack 0.1.1
File Interpreter ABI Platform
kstack-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 39.4 kB

Release files / kstack-0.1.1.tar.gz

Download URL kstack-0.1.1.tar.gz
Size 18.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5deeb4ceec25c3bf5642659b7d4b80499186ec07fbfb3c21fb82d7431ed94b67
BLAKE2b-256 checksum
How to use checksums
866fc15476a8429035b2452f63d381a4cb717818639f6f62ae5ec94efb0f51bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

Release files / kstack-0.1.1-py3-none-any.whl

Download URL kstack-0.1.1-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
34bd8b6451bbf6693bb36e3623eb606010683b10b64e1268d7b42d1d3b287c30
BLAKE2b-256 checksum
How to use checksums
d4b026bf4fee0a4b437eaf052324c689271c090c671d3900bee9dcd35102bc05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page