A Python API for manipulating kubeconfig files
OTHER License
kubeconfig is a simple Python module for manipulating Kubernetes kubeconfig files.
.. code-block:: py
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())
.. code-block:: shell
pip install kubeconfig
See the documentation_ for more details on usage.
kubeconfig is licensed under the BSD 3-Clause License.
.. _documentation: http://kubeconfig-python.readthedocs.io