1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
kubernetes-master: charm: "cs:~containers/kubernetes-master" num_units: 1 expose: true to: - "nodes/0" kubernetes-worker: charm: "cs:~containers/kubernetes-worker" num_units: {{ opnfv.units - 1 }} expose: true to: {% for unit_id in range(1, opnfv.units) %} - "nodes/{{ unit_id }}" {% endfor %}