Skip to content

Commit 1412618

Browse files
committed
0.7.16 - pyprojec.toml
1 parent 56378c7 commit 1412618

12 files changed

Lines changed: 2007 additions & 509 deletions

File tree

README.md

Lines changed: 47 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,49 @@ DevOps Tools
33

44
OS Software Configure Managment
55

6-
Install
7-
-------
6+
这是一个运维工具箱,里面包含了一系列工具集合。
87

9-
pip install netkiller-devops -i https://pypi.tuna.tsinghua.edu.cn/simple
8+
## Install 安装
109

11-
### Docker
10+
中国镜像安装
1211

13-
root@netkiller ~# docker run --rm -it --name=netkiller --entrypoint=sh netkiller-devops:latest
12+
$ pip install netkiller-devops -i https://pypi.tuna.tsinghua.edu.cn/simple
1413

15-
### PATH Variable
14+
有时国内镜像同步速度慢,需要指定官方镜像才能安装最新版
1615

17-
$ cp share/profile.d/devops.sh /etc/profile.d/
18-
19-
or
20-
21-
$ cat >> /etc/profile.d/devops.sh <<'EOF'
22-
export PATH=/srv/devops/bin:$PATH
23-
EOF
16+
$ pip install netkiller-devops --upgrade -i https://pypi.org/project
2417

25-
26-
Deployment
27-
----------
28-
[Software deployment tools](https://github.com/netkiller/devops/blob/master/doc/deployment.md).
18+
19+
## Docker 编排工具
20+
21+
传统 Docker compose 采用 YAML 技术,无法完成复杂的编排任务,于是我开发了一个工具,将 compose.yaml 脚本 python 化,用 python 语音编排 compose.yaml 脚本。
22+
23+
1. [Docker 编排工具](https://github.com/netkiller/devops/tree/master/doc/docker)
24+
1. [参考例子](https://github.com/netkiller/devops/tree/master/container/docker)
25+
26+
## Kubernetes 编排工具
27+
28+
与前面 Docker 编排一样,使用 pyhton 完成 Kubernetes 的编排任务。
29+
30+
1. [Kubernetes 编排工具](https://github.com/netkiller/devops/tree/master/doc/kubernetes)
31+
1. [参考例子](https://github.com/netkiller/devops/tree/master/container/kubernetes)
32+
33+
34+
## 工具列表
35+
36+
1. [数据备份工具](https://github.com/netkiller/devops/blob/master/doc/backup.md).
37+
1. [数据库备份脚本](https://github.com/netkiller/devops/blob/master/doc/database.md).
38+
1. [配置文件版本控制工具](https://github.com/netkiller/devops/blob/master/doc/osconf.md).
39+
1. [环境部署脚本 Shell](https://github.com/netkiller/devops/blob/master/doc/deployment.md).
40+
41+
### Shell 工具箱
42+
43+
44+
[Shell 工具](https://github.com/netkiller/devops/tree/master/shell)
45+
46+
47+
48+
root@netkiller ~# docker run --rm -it --name=netkiller --entrypoint=sh netkiller-devops:latest
2949

3050
### Ubuntu 编译安装
3151

@@ -54,18 +74,19 @@ Deployment
5474
$ python setup.py sdist bdist_wheel
5575
$ twine upload dist/netkiller-devops-x.x.x.tar.gz
5676

57-
指定镜像
77+
### PATH Variable
78+
79+
$ cp share/profile.d/devops.sh /etc/profile.d/
80+
81+
or
82+
83+
$ cat >> /etc/profile.d/devops.sh <<'EOF'
84+
export PATH=/srv/devops/bin:$PATH
85+
EOF
86+
5887

59-
$ pip3 install netkiller-devops --upgrade -i https://pypi.org/project
6088

61-
Backup
62-
------
63-
[Data backup tools](https://github.com/netkiller/devops/blob/master/doc/backup.md).
64-
[Database backup](https://github.com/netkiller/devops/blob/master/doc/database.md).
6589

66-
OS Configuration file versioning
67-
-----
68-
[osconf](https://github.com/netkiller/devops/blob/master/doc/osconf.md).
6990

7091

7192
# Donations

0 commit comments

Comments
 (0)