DevOps Tools
OS Software Configure Managment
这是一个运维工具箱,里面包含了一系列工具集合。
Install 安装
中国镜像安装
$ pip install netkiller-devops -i https://pypi.tuna.tsinghua.edu.cn/simple
有时国内镜像同步速度慢,需要指定官方镜像才能安装最新版
$ pip install netkiller-devops --upgrade -i https://pypi.org/project
Docker 编排工具
传统 Docker compose 采用 YAML 技术,无法完成复杂的编排任务,于是我开发了一个工具,将 compose.yaml 脚本 python 化,用 python 语音编排 compose.yaml 脚本。
Kubernetes 编排工具
与前面 Docker 编排一样,使用 pyhton 完成 Kubernetes 的编排任务。
工具列表
Shell 工具箱
root@netkiller ~# docker run --rm -it --name=netkiller --entrypoint=sh netkiller-devops:latest
Ubuntu 编译安装
$ cd /usr/local/src/
$ git clone https://github.com/netkiller/devops.git
$ cd devops
$ python3 setup.py sdist
$ python3 setup.py install
CentOS 编译安装
$ cd /usr/local/src/
$ git clone https://github.com/netkiller/devops.git
$ cd devops
$ python3 setup.py sdist
$ python3 setup.py install --prefix=/srv/devops
or
python36 setup.py sdist
python36 setup.py install --prefix=/srv/devops
Deploy Pypi
$ pip install setuptools wheel twine
$ python setup.py sdist bdist_wheel
$ twine upload dist/netkiller-devops-x.x.x.tar.gz
pip install --upgrade build
python -m build
twine upload dist/netkiller_devops-0.7.22*
PATH Variable
$ cp share/profile.d/devops.sh /etc/profile.d/
or
$ cat >> /etc/profile.d/devops.sh <<'EOF'
export PATH=/srv/devops/bin:$PATH
EOF
Donations
We accept PayPal through:
https://www.paypal.me/netkiller
Wechat (微信) / Alipay (支付宝) 打赏:
Metadata
Release files for netkiller-devops 0.7.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netkiller_devops-0.7.24.tar.gz | 62.7 kB | Without provenance | Details for netkiller_devops-0.7.24.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netkiller_devops-0.7.24-py3-none-any.whl | Python 3 | none | any | Details for netkiller_devops-0.7.24-py3-none-any.whl |
Total release size: 144.9 kB
Release files / netkiller_devops-0.7.24.tar.gz
| Download URL | netkiller_devops-0.7.24.tar.gz |
|---|---|
| Size | 62.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ad5999ea7e2cbc4e62c663eeddb76dac691a4497adb81670f97fba3def87a7b3
|
|
BLAKE2b-256 checksum How to use checksums |
2277522209c25d873e66ff46cd6d46f78d5016d83cf74768bad374aa62c3c991
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Release files / netkiller_devops-0.7.24-py3-none-any.whl
| Download URL | netkiller_devops-0.7.24-py3-none-any.whl |
|---|---|
| Size | 82.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05c1256e3f5347862fc097a3d915d8c4ea2239a8619d6ab57dbd3ac76d84be41
|
|
BLAKE2b-256 checksum How to use checksums |
65a7fe0550cae1e856ce3ea6b51426ae5ead6d52ec813f29ae7ad2b89db392bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.0
|
Security for netkiller-devops 0.7.24
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.