【文件属性】:
文件名称:Kubernetes-API:kubernetes客户端api
文件大小:881KB
文件格式:ZIP
更新时间:2021-05-08 15:53:15
Python
Kubernetes Python Client
Python client for the API.
#基于Flask写了一个轻量简便的K8S API,使用POST请求该接口使用,方便集成至CI或者CMDB。
#属于*上搭棚子,感谢
Installation
From source:
git clone --recursive https://github.com/kubernetes-client/python.git
cd python
python setup.py install
git clone --recursive https://github.com/JUNgege10/Kubernetes-API.git
cd Kubernetes-API
From directly:
pip install kubernetes
pip install flask
Examp