summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundlek8_tpl/kubernetes.yaml
blob: 93f8890e14ac44e0fc63479462f5d339d5b88f10 (plain)
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 %}