Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmzj committed Jan 19, 2023
1 parent c3ddb38 commit 79a6503
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@

## 贡献&致谢

请阅读[项目分支说明](docs/mixes/branch.md), 欢迎提[Issues](https://github.com/easzlab/kubeasz/issues)[PRs](docs/mixes/HowToContribute.md)参与维护项目!感谢您的关注与支持!
欢迎提[Issues](https://github.com/easzlab/kubeasz/issues)[PRs](docs/mixes/HowToContribute.md)参与维护项目!感谢您的关注与支持!
- [如何 PR](docs/mixes/HowToContribute.md)
- [如何捐赠](docs/mixes/donate.md)

Expand Down
30 changes: 0 additions & 30 deletions docs/mixes/branch.md

This file was deleted.

11 changes: 5 additions & 6 deletions docs/setup/00-planning_and_overall_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### HA architecture

![ha-2x](../../pics/ha-2x.gif)
<img alt="ha-3x" width="500" height="380" src="../../pics/ha-3x.svg">

- 注意1:确保各节点时区设置一致、时间同步。 如果你的环境没有提供NTP 时间同步,推荐集成安装[chrony](../guide/chrony.md)
- 注意2:确保在干净的系统上开始安装,不要使用曾经装过kubeadm或其他k8s发行版的环境
Expand Down Expand Up @@ -59,10 +59,10 @@ ssh $IP ln -s /usr/bin/python3 /usr/bin/python

- 4.1 下载项目源码、二进制及离线镜像

下载工具脚本ezdown,举例使用kubeasz版本3.3.1
下载工具脚本ezdown,举例使用kubeasz版本3.5.0

``` bash
export release=3.3.1
export release=3.5.0
wget https://github.com/easzlab/kubeasz/releases/download/${release}/ezdown
chmod +x ./ezdown
```
Expand Down Expand Up @@ -110,9 +110,8 @@ docker exec -it kubeasz ezctl new k8s-01
如果你对集群安装流程不熟悉,请阅读项目首页 **安装步骤** 讲解后分步安装,并对 **每步都进行验证**

``` bash
#建议配置命令alias,方便执行
echo "alias dk='docker exec -it kubeasz'" >> /root/.bashrc
source /root/.bashrc
#建议使用alias命令,查看~/.bashrc 文件应该包含:alias dk='docker exec -it kubeasz'
source ~/.bashrc

# 一键安装,等价于执行docker exec -it kubeasz ezctl setup k8s-01 all
dk ezctl setup k8s-01 all
Expand Down
7 changes: 3 additions & 4 deletions docs/setup/quickStart.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

### 2.下载文件

- 下载工具脚本ezdown,举例使用kubeasz版本3.3.1
- 下载工具脚本ezdown,举例使用kubeasz版本3.5.0

``` bash
export release=3.3.1
export release=3.5.0
wget https://github.com/easzlab/kubeasz/releases/download/${release}/ezdown
chmod +x ./ezdown
```
Expand Down Expand Up @@ -68,9 +68,8 @@ docker exec -it kubeasz ezctl start-aio

### 4.验证安装

如果提示kubectl: command not found,退出重新ssh登录一下,环境变量生效即可

``` bash
$ source ~/.bashrc
$ kubectl version # 验证集群版本
$ kubectl get node # 验证节点就绪 (Ready) 状态
$ kubectl get pod -A # 验证集群pod状态,默认已安装网络插件、coredns、metrics-server等
Expand Down
Binary file removed pics/ha-2x.gif
Binary file not shown.
1 change: 1 addition & 0 deletions pics/ha-3x.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 79a6503

Please sign in to comment.