blob: 933c1ef7723b305d5533c0d7bee72e83849a15fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
kubernetes-master:
charm: "cs:~containers/kubernetes-master"
num_units: 1
expose: true
{% if os.service.bindings %}
bindings:
"": internal-api
{% endif %}
{% if k8.network.controller == 'ovn' %}
options:
channel: 1.5/stable
service-cidr: "192.168.200.0/24"
{% endif %}
to:
- "nodes/0"
kubernetes-worker:
charm: "cs:~containers/kubernetes-worker"
num_units: {{ opnfv.units - 1 }}
expose: true
{% if os.service.bindings %}
bindings:
"": internal-api
{% endif %}
{% if k8.network.controller == 'ovn' %}
options:
channel: 1.5/stable
{% endif %}
to:
{% for unit_id in range(1, opnfv.units) %}
- "nodes/{{ unit_id }}"
{% endfor %}
|