summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundlek8_tpl/kubernetes.yaml
blob: 3953734b872cb07027b0f1232b84ea6f6c81aea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
    kubernetes-master:
      charm: "./{{ ubuntu.release }}/kubernetes-master"
      num_units: 1
      expose: true
      to:
        - "nodes/0"

    kubernetes-worker:
      charm: "./{{ ubuntu.release }}/kubernetes-worker"
      num_units: {{ opnfv.units - 1 }}
      expose: true
      to:
{% for unit_id in range(1, opnfv.units) %}
        - "nodes/{{ unit_id }}"
{% endfor %}