forked from easzlab/kubeasz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
1 addition
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
# 在deploy节点生成CA相关证书,以供整个集群使用 | ||
- hosts: deploy | ||
gather_facts: False | ||
roles: | ||
- ca | ||
|
||
# 集群节点的公共配置任务 | ||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- prepare | ||
|
||
# 可选,多master部署时的负载均衡配置 | ||
- hosts: lb | ||
gather_facts: False | ||
roles: | ||
- lb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: etcd | ||
gather_facts: False | ||
roles: | ||
- etcd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- kubectl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- calico |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: kube-master | ||
gather_facts: False | ||
roles: | ||
- kube-master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
- hosts: kube-node | ||
gather_facts: False | ||
roles: | ||
- kube-node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,32 @@ | ||
# 在deploy节点生成CA相关证书,以供整个集群使用 | ||
- hosts: deploy | ||
gather_facts: False | ||
roles: | ||
- ca | ||
|
||
# 集群节点的公共配置任务 | ||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- prepare | ||
|
||
# 可选,多master部署时的负载均衡配置 | ||
- hosts: lb | ||
gather_facts: False | ||
roles: | ||
- lb | ||
|
||
- hosts: etcd | ||
gather_facts: False | ||
roles: | ||
- etcd | ||
|
||
- hosts: kube-cluster | ||
gather_facts: False | ||
roles: | ||
- kubectl | ||
- docker | ||
- calico | ||
|
||
- hosts: kube-master | ||
gather_facts: False | ||
roles: | ||
- kube-master | ||
|
||
- hosts: kube-node | ||
gather_facts: False | ||
roles: | ||
- kube-node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters