Skip to main content

Python client library for Kubernetes

Project description

======
pykube
======

*Python client for Kubernetes*

.. image:: https://img.shields.io/pypi/dm/pykube.svg
:target: https://pypi-hypernode.com/pypi/pykube/

.. image:: https://img.shields.io/pypi/v/pykube.svg
:target: https://pypi-hypernode.com/pypi/pykube/

.. image:: https://img.shields.io/badge/license-apache-blue.svg
:target: https://pypi-hypernode.com/pypi/pykube/


Client library written in Python to interface to Kubernetes.

Features
========

* HTTP interface using requests using kubeconfig for authentication

Requirements
============

* Python 2.7 or 3.4
* requests (included in ``install_requires``)
* PyYAML (included in ``install_requires``)

Example
=======

Given a kubeconfig at `/etc/kubectl-config/kubeconfig`:

kind: Config
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: "..."
server: https://127.0.0.1
name: cluster1
users:
- name: user1
user:
client-certificate-data: "..."
client-key-data: "..."
token: "..."
contexts:
- context:
cluster: cluster1
user: user1
name: context1

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

pykube-0.2.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file pykube-0.2.0.tar.gz.

File metadata

  • Download URL: pykube-0.2.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pykube-0.2.0.tar.gz
Algorithm Hash digest
SHA256 45651dbe372f1ed685fcb5728e1b60150872152afa32f4a67305ae8a30072987
MD5 3948fa5a2c1997b6dca58ef89fb3e66e
BLAKE2b-256 dd33e096123801e6bfb3423d12c06b732ce937ac6f605b75e377723d6f52dda6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page