A simple wrapper around Kubernetes kubectl
Project description
kubeconfig is a simple Python module for manipulating Kubernetes kubeconfig files.
from kubeconfig import KubeConfig
conf = KubeConfig()
conf.set_context('new-context', cluster='other-cluster', user='my-user')
conf.use_context('new-context')
print(conf.view())
Installing
pip install kubeconfig
Example usage cases
Generating configs for users
Tooling that manages switching between multiple clusters or users
Cycling credentials out in a config
Updating CA cert entries in your config
Documentation
See the documentation for more details on usage.
License
kubeconfig is licensed under the BSD 3-Clause License.
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
kubeconfig-1.1.1.tar.gz
(4.9 kB
view details)
File details
Details for the file kubeconfig-1.1.1.tar.gz
.
File metadata
- Download URL: kubeconfig-1.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3982b074c47f2ebe8e75c887fb6745d8860a4d87a51bc96c7a42c03721186990 |
|
MD5 | f57c0597825bb8f78788dd86e2b31864 |
|
BLAKE2b-256 | 0b98bc4f16dd258b73b57c2706604d4dc5741867e8ca30b2f36bb8ca9718ec69 |