Skip to main content

No project description provided

Project description

Build Status Code Coverage PyPI Downloads Latest PyPI version License

Kubernetes CLI (kubectl) wrapper in Python with OAuth token authentication.

This wrapper script serves as a drop-in replacement for the kubectl binary:

  • it downloads the current kubectl binary from Google

  • it generates a new ~/.kube/config with an OAuth Bearer token acquired via zign.

  • it passes through commands to the kubectl binary

Installation

Requires Python 3.4+.

$ sudo pip3 install --upgrade zalando-kubectl

Usage

$ zalando-kubectl login https://my-api-server.example.org
$ zalando-kubectl cluster-info

Unit Tests

Run unit tests with Tox:

$ sudo pip3 install tox
$ tox

Project details


Release history Release notifications | RSS feed

This version

0.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zalando-kubectl-0.8.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zalando_kubectl-0.8-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file zalando-kubectl-0.8.tar.gz.

File metadata

  • Download URL: zalando-kubectl-0.8.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for zalando-kubectl-0.8.tar.gz
Algorithm Hash digest
SHA256 c9bbd05d605c45c83526075ddf8e600bba782e6795b7aac9838331a4b6cc6016
MD5 07f9fdae3049db2185a5aa60e5b19611
BLAKE2b-256 216ba29dea7bc6f39eb7dda937a664eea9f69130c16fe1e45b27beebddaa10a1

See more details on using hashes here.

File details

Details for the file zalando_kubectl-0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for zalando_kubectl-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6f2d1ce3a03c70a6533fd5bdbe93ab5f6c4430fe2a5f7e34b50bbbcadbcc9e71
MD5 a1ae1443bc14cf4d9d27dccf03999ed0
BLAKE2b-256 de09f1e112a6d5b88c664d393767b1eb06621cbc5b2b41e0cd57ba8b27698557

See more details on using hashes here.

Supported by

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