mirror of https://github.com/easzlab/kubeasz.git
parent
4433e2f6f8
commit
b2d2ceb4bc
|
@ -1,5 +1,5 @@
|
|||
# NOTE: Prepare following Requirements and Build the image "kubeasz:$TAG"
|
||||
# Requirement 1: git clone https://github.com/gjmzj/kubeasz.git
|
||||
# Requirement 1: git clone --depth=1 https://github.com/gjmzj/kubeasz.git
|
||||
# Requirement 2: download binaries at https://pan.baidu.com/s/1c4RFaA, and put into dir 'kubeasz/bin'
|
||||
# Build: docker build -t kubeasz:$TAG .
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ ssh-copy-id $IPs #$IPs为所有节点地址包括自身,按照提示输入yes
|
|||
|
||||
``` bash
|
||||
# 方式一:使用git clone
|
||||
git clone https://github.com/gjmzj/kubeasz.git
|
||||
git clone --depth=1 https://github.com/gjmzj/kubeasz.git
|
||||
mkdir -p /etc/ansible
|
||||
mv kubeasz/* /etc/ansible
|
||||
# 方式二:从发布页面 https://github.com/gjmzj/kubeasz/releases 下载源码解压到同样目录
|
||||
|
|
|
@ -35,7 +35,7 @@ docker exec -it kubeasz easzctl start-aio
|
|||
``` bash
|
||||
cd /etc/ansible/dockerfiles/kubeasz
|
||||
# 克隆代码
|
||||
git clone https://github.com/gjmzj/kubeasz.git
|
||||
git clone --depth=1 https://github.com/gjmzj/kubeasz.git
|
||||
# 手动下载二进制文件放入上述 git clone 完成目录 kubeasz/bin
|
||||
docker build -t kubeasz:$TAG .
|
||||
```
|
||||
|
|
|
@ -69,7 +69,7 @@ if __name__ == '__main__':
|
|||
|
||||
``` bash
|
||||
# 方式一:使用git clone
|
||||
git clone https://github.com/gjmzj/kubeasz.git
|
||||
git clone --depth=1 https://github.com/gjmzj/kubeasz.git
|
||||
mkdir -p /etc/ansible
|
||||
mv kubeasz/* /etc/ansible
|
||||
# 方式二:从发布页面 https://github.com/gjmzj/kubeasz/releases 下载源码解压到同样目录
|
||||
|
|
|
@ -68,7 +68,7 @@ setup_ansible_k8s() {
|
|||
pip install pip --upgrade -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
pip install --no-cache-dir ansible -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
|
||||
git clone https://github.com/gjmzj/kubeasz.git
|
||||
git clone --depth=1 https://github.com/gjmzj/kubeasz.git
|
||||
mv kubeasz /etc/ansible
|
||||
|
||||
# Download from CDN & Move bin files
|
||||
|
|
Loading…
Reference in New Issue