Lightweight Python 3+ client library for Kubernetes (pykube-ng) https://pykube.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Brian Rosner 9b52059f09
Bumped to 0.15.0
4 years ago
pykube Merge pull request #83 from Chris-Dee/add_rollout_undo 4 years ago
test Add namespace test 5 years ago
.gitignore Added build and dist to .gitignore 5 years ago
.travis.yml Remove now default 'sudo: false' 5 years ago
CHANGELOG.md Updated CHANGELOG round two 4 years ago
LICENSE initial port of code 6 years ago
README.rst Merge pull request #92 from soxhub/master 4 years ago
setup.cfg Added Travis CI 5 years ago
setup.py Bumped to 0.15.0 4 years ago
tox.ini Corrected testing command 5 years ago

README.rst

pykube

image

image

image

image

image

Python client library for Kubernetes

image

Kel is an open source Platform as a Service (PaaS) from Eldarion, Inc. that makes it easy to manage web application deployment and hosting through the entire lifecycle from development through testing to production. It adds components and tools on top of Kubernetes that help developers manage their application infrastructure. Kel builds on Eldarion's 7+ years experience running one of the leading Python and Django PaaSes.

For more information about Kel, see kelproject.com, follow us on Twitter @projectkel, and join our Slack team.

Features

  • HTTP interface using requests using kubeconfig for authentication
  • Python native querying of Kubernetes API objects

Installation

To install pykube, use pip:

pip install pykube

Usage

Query for all ready pods in a custom namespace:

Selector query:

Watch query:

Create a ReplicationController:

Delete a ReplicationController:

Check server version:

Requirements

  • Python 2.7 or 3.3+
  • requests (included in install_requires)
  • PyYAML (included in install_requires)

License

The code in this project is licensed under the Apache License, version 2.0 (included in this repository under LICENSE).

Contributing

By making a contribution to this project, you are agreeing to the Developer Certificate of Origin v1.1 (also included in this repository under DCO.txt).

Code of Conduct

In order to foster a kind, inclusive, and harassment-free community, the Kel Project follows the Contributor Covenant Code of Conduct.

Commercial Support

Commercial support for Kel is available through Eldarion, please contact info@eldarion.com.