blob: de69b769ad6d0987fe1b0882e02337b6d72c4818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
{% if k8.feature.loadbalancer %}
- [ 'kubernetes-master:kube-api-endpoint', 'kubeapi-load-balancer:apiserver' ]
{% else %}
- [ 'kubernetes-master:kube-api-endpoint', 'kubernetes-worker:kube-api-endpoint' ]
{% endif %}
- [ 'kubernetes-master:cluster-dns', 'kubernetes-worker:kube-dns' ]
- [ 'kubernetes-master:certificates', 'easyrsa:client' ]
- [ 'kubernetes-master:etcd', 'etcd:db' ]
- [ 'kubernetes-worker:certificates', 'easyrsa:client' ]
- [ 'flannel:etcd', 'etcd:db' ]
- [ 'flannel:cni', 'kubernetes-master:cni' ]
- [ 'flannel:cni', 'kubernetes-worker:cni' ]
- [ 'etcd:certificates', 'easyrsa:client' ]
{% if k8.feature.loadbalancer %}
- [ 'kubernetes-master:loadbalancer', 'kubeapi-load-balancer:loadbalancer' ]
- [ 'kubernetes-worker:kube-api-endpoint', 'kubeapi-load-balancer:website' ]
- [ 'kubeapi-load-balancer:certificates', 'easyrsa:client' ]
{% endif %}
|