A python client library for kubenetes
install pykube
1 | pip install pykube |
Usage
Query for all pods in a custom namespaces
1 |
|
Create a ReplicationController:
1 | import operator |
Delete ReplicationController:
1 | obj = { |
Check server version:
1 | import operator |