kubeasz/01.prepare.yml

19 lines
297 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 在deploy节点生成CA相关证书以及kubedns.yaml配置文件
- hosts: deploy
roles:
- deploy
# 集群节点的公共配置任务
- hosts:
- kube-cluster
- deploy
- etcd
- lb
roles:
- prepare
# [可选]多master部署时的负载均衡配置
- hosts: lb
roles:
- lb