No project description provided
Project description
Kubernetes CLI (kubectl) wrapper in Python with OAuth token authentication.
This wrapper script zkubectl 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
$ zkubectl login https://my-api-server.example.org
$ zkubectl cluster-info
Unit Tests
Run unit tests with Tox:
$ sudo pip3 install tox
$ tox
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
zalando-kubectl-0.9.tar.gz
(5.3 kB
view hashes)
Built Distribution
Close
Hashes for zalando_kubectl-0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6e0ae5182244c3d617e936649e1809c5f049f6e6ce648024fd1a4446406254 |
|
MD5 | 55b746d65fc64fe688db0ae257e586a6 |
|
BLAKE2b-256 | f5472b29b78603efbc21158968a15fd33995dbc4d8c488beb2ebb16db52dfe2f |