{% load i18n sizeformat %}

{% trans "Node Groups" %}

{% for node_group in cluster.node_groups %}

{% trans "Name" %}: {{ node_group.name }}

{% trans "Number of Nodes" %}
{{ node_group.count }}
{% trans "Flavor" %}
{{ node_group.flavor_name|default:"Flavor is not specified" }}
{% trans "Template" %}
{% if node_group.node_group_template_id %}
{{ node_group.node_group_template.name }}
{% else %}
{% trans "Template not specified" %}
{% endif %}
{% trans "Node Processes" %}
{% if node_group.node_processes %}
    {% for process in node_group.node_processes %}
  • {{ process }}
  • {% endfor %}
{% else %}
{% trans "Node processes are not specified" %}
{% endif %}
{% trans "Node Configurations" %}
{% if node_group.node_configs %}
{% for service, service_conf in node_group.node_configs.items %}

{{ service }}

{% if service_conf %}
    {% for conf_name, conf_value in service_conf.items %}
  • {{ conf_name }}: {{ conf_value }}
  • {% endfor %}
{% else %}
No configurations
{% endif %} {% endfor %}
{% else %}
{% trans "Node configurations are not specified" %}
{% endif %}
{% endfor %}