Kubeshift is a multi-provider Python library for container orchestrators. We connect and communicate with each container orchestator 100% through their TLS (if available) HTTP API.
Features:
- 100% HTTP API
- Auto-parsing of
~/.kube/config
- TLS/Websocket authentication
- High test coverage
At the moment we support:
- Kubernetes
- OpenShift
- Mesos (soon!)
git clone https://github.com/cdrage/kubeshift && cd kubeshift
make install
anymarkup
jsonpointer
requests
websocket-client
pip install -r requirements.txt
import kubeshift
a = kubeshift.Client(kubeshift.Config.from_file("/home/user/.kube/config"), "kubernetes")
a.namespaces()
- Better documentation
- Additional providers other than Kubernetes and OpenShift
- Simpler import-from-kube-config-file functionality
- Certificate data fixes