This package provides the Kubernetes implementation of the deployer interface for pypz.
Project description
Description
This package contains the Kubernetes implementation of the deployer interface of pypz. It enables the deployment of the pipelines to a Kubernetes cluster.
Check the documentation for more details.
Install
The python artifact is hosted on https://pypi.org/, so you can install it via pip:
pip install pypz-k8s-deployer
If you want to work on it locally, then you should install in editable mode:
pip install -e ./deployers/k8s
Test
You can run tests against an existing Kubernetes cluster, however, it is more convenient and safe to use Kind for this purpose.
- Follow the instructions to install Kind. Note that Kind prepares the required config file ~/.kube/config. If you work with your own cluster, make sure, you have this file already in place.
- Install the subproject in editable more.
pip install -e ./deployers/k8s
- Start the cluster
kind create cluster
- Build the test image from the project root
docker build -t pypz-test-base -f deployers/k8s/test/resources/docker/Dockerfile .
- Load the test image onto the Kind node
kind load docker-image pypz-test-base
- To run the tests locally, you need to execute the following command:
python -m unittest discover .\deployers\k8s\test\ -p "*.py"
- Delete cluster
kind delete cluster
Build
Before you build, you will need to install the "build" package:
pip install build
Then from the subproject's root, you will need to execute the following command:
python -m build
It will create the source distribution and the wheel file in the "dist" folder.
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 pypz_k8s_deployer-0.9.4.tar.gz.
File metadata
- Download URL: pypz_k8s_deployer-0.9.4.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b21c84558c9fdb31ee1ff0466a0b73943d12c03b270bdbba855795e9d982dced
|
|
| MD5 |
b8ef8923a7b572e122c18deabc010e7f
|
|
| BLAKE2b-256 |
aa9db635ec0866aef51aa7e1cc557574ecdbb7912011411823d168cffe17db0a
|
Provenance
The following attestation bundles were made for pypz_k8s_deployer-0.9.4.tar.gz:
Publisher:
publish_deployer_k8s.yml on lazlowa/pypz-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypz_k8s_deployer-0.9.4.tar.gz -
Subject digest:
b21c84558c9fdb31ee1ff0466a0b73943d12c03b270bdbba855795e9d982dced - Sigstore transparency entry: 760107105
- Sigstore integration time:
-
Permalink:
lazlowa/pypz-python@796fafb09541fbce7fb2e578ad740d1dcacaf7a1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lazlowa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_deployer_k8s.yml@796fafb09541fbce7fb2e578ad740d1dcacaf7a1 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pypz_k8s_deployer-0.9.4-py3-none-any.whl.
File metadata
- Download URL: pypz_k8s_deployer-0.9.4-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
628b34962a8e196ecbbf39a78d9360f657fe61b7ad1c74e85bb43f03c485b887
|
|
| MD5 |
603c2f1823f1e9843bc25f1e09d931b9
|
|
| BLAKE2b-256 |
fc1ec5d2e0a2099fbce0e97897302f638cc5bfd2b65eef7f8c760704d3850017
|
Provenance
The following attestation bundles were made for pypz_k8s_deployer-0.9.4-py3-none-any.whl:
Publisher:
publish_deployer_k8s.yml on lazlowa/pypz-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pypz_k8s_deployer-0.9.4-py3-none-any.whl -
Subject digest:
628b34962a8e196ecbbf39a78d9360f657fe61b7ad1c74e85bb43f03c485b887 - Sigstore transparency entry: 760107167
- Sigstore integration time:
-
Permalink:
lazlowa/pypz-python@796fafb09541fbce7fb2e578ad740d1dcacaf7a1 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lazlowa
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_deployer_k8s.yml@796fafb09541fbce7fb2e578ad740d1dcacaf7a1 -
Trigger Event:
workflow_dispatch
-
Statement type: