Commit 749baf5 1 parent 3a29c84 commit 749baf5 Copy full SHA for 749baf5
File tree 2 files changed +33
-1
lines changed
2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ sed -i 's/^INSTALL_SOURCE.*$/INSTALL_SOURCE: "offline"/g' /etc/ansible/roles/pre
68
68
docker exec -it kubeasz easzctl start-aio
69
69
```
70
70
71
- - 多节点集群,进入kubeasz 容器内 ` kubectl exec -it kubeasz bash` ,参考https://github.com/easzlab/kubeasz/blob/master/docs/setup/00-planning_and_overall_intro.md 进行集群规划和设置后安装
71
+ - 多节点集群,进入kubeasz 容器内 ` docker exec -it kubeasz bash` ,参考https://github.com/easzlab/kubeasz/blob/master/docs/setup/00-planning_and_overall_intro.md 进行集群规划和设置后安装
72
72
73
73
```
74
74
#ansible-playbook 90.setup.yml
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -o nounset
3
+ set -o errexit
4
+ # set -o xtrace
5
+
6
+ function usage() {
7
+ cat << EOF
8
+ Usage: start-aio <version> to start an all-in-one k8s cluster with a specific kubeasz version
9
+
10
+ EOF
11
+ }
12
+
13
+ [[ " $# " -eq 1 ]] || { usage >&2 ; exit 1; }
14
+
15
+ # tool
16
+ echo " [INFO] get the tool script: easzup"
17
+ if [[ -e /usr/bin/curl ]]; then
18
+ curl -C- -fLO --retry 3 " https://github.com/easzlab/kubeasz/releases/download/$1 /easzup" || exit 1
19
+ else
20
+ wget -c " https://github.com/easzlab/kubeasz/releases/download/$1 /easzup" || exit 1
21
+ fi
22
+
23
+ # download
24
+ echo " [INFO] download everything with easzup"
25
+ chmod +x ./easzup
26
+ ./easzup -D
27
+ # ./easzup -P
28
+
29
+ # install
30
+ echo " [INFO] install k8s using a container 'kubeasz'"
31
+ ./easzup -S
32
+ docker exec -it kubeasz easzctl start-aio
You can’t perform that action at this time.
0 commit comments