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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5deeb4ceec25c3bf5642659b7d4b80499186ec07fbfb3c21fb82d7431ed94b67
|
|
| MD5 |
5e91624685229f3c330cc609519086a1
|
|
| BLAKE2b-256 |
866fc15476a8429035b2452f63d381a4cb717818639f6f62ae5ec94efb0f51bc
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34bd8b6451bbf6693bb36e3623eb606010683b10b64e1268d7b42d1d3b287c30
|
|
| MD5 |
0c7903ec7d9e18780b9c3149f410a355
|
|
| BLAKE2b-256 |
d4b026bf4fee0a4b437eaf052324c689271c090c671d3900bee9dcd35102bc05
|