309240cd6f
This patch provides support for Canal network plugin installation as a self-hosted app, see the following link for details: https://github.com/tigera/canal/tree/master/k8s-install
40 lines
818 B
YAML
40 lines
818 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: false
|
|
roles:
|
|
- bootstrap-os
|
|
tags:
|
|
- bootstrap-os
|
|
|
|
|
|
- hosts: all
|
|
gather_facts: true
|
|
|
|
- hosts: all
|
|
roles:
|
|
- { role: kubernetes/preinstall, tags: preinstall }
|
|
|
|
- hosts: etcd:!k8s-cluster
|
|
roles:
|
|
- { role: etcd, tags: etcd }
|
|
|
|
- hosts: k8s-cluster
|
|
roles:
|
|
- { role: etcd, tags: etcd }
|
|
- { role: kubernetes/node, tags: node }
|
|
- { role: network_plugin, tags: network }
|
|
|
|
- hosts: kube-master
|
|
roles:
|
|
- { role: kubernetes/master, tags: master }
|
|
- { role: kubernetes-apps/lib, tags: apps }
|
|
- { role: kubernetes-apps/network_plugin, tags: network }
|
|
|
|
- hosts: k8s-cluster
|
|
roles:
|
|
- { role: dnsmasq, tags: dnsmasq }
|
|
|
|
- hosts: kube-master[0]
|
|
roles:
|
|
- { role: kubernetes-apps/lib, tags: apps }
|
|
- { role: kubernetes-apps, tags: apps }
|