{% extends "base.html" %} {% block title %}{{ plural }} in {{ cluster }}{% endblock %} {% block content %} {% for table in tables: %}

{{ table.api_obj_class.kind|pluralize }}

{% if rel_url.query.join: %} {% endif %} {% if rel_url.query.sort: %} {% endif %} {% if rel_url.query.customcols: %} {% endif %} {% if rel_url.query.hidecols: %} {% endif %}

{% if table.api_obj_class.endpoint in ('pods', 'nodes') and not rel_url.query.join: %}
Show CPU/Memory Usage
{% endif %} {% if table.obj.clusters|length > 1: %} {% endif %} {% if is_all_namespaces: %} {% endif %} {% for column in table.columns: %} {% endfor %} {% if object_links[table.api_obj_class.endpoint]: %} {% endif %} {% for row in table.rows: %} {% if table.obj.clusters|length > 1: %} {% endif %} {% if is_all_namespaces: %} {% endif %} {% for cell in row.cells: %} {% if table.columns[loop.index0].name == 'Name': %} {% if row.object.metadata.namespace: %} {% else: %} {% endif %} {% else: %} {% endif %} {% endfor %} {% if object_links[table.api_obj_class.endpoint]: %} {% endif %} {% else: %} {% endfor %}
ClusterNamespace{{ column.name }} {% if rel_url.query.sort == column.name: %} {% elif rel_url.query.sort == column.name + ':desc': %} {% endif %} Created {% if rel_url.query.sort == 'Created': %} {% elif rel_url.query.sort == 'Created:desc': %} {% endif %}
{{ row.cluster.name }}{{ row.object.metadata.namespace }}{{ cell }}{{ cell }} {% if table.columns[loop.index0].label and table.columns[loop.index0].label != '*': %} {{ cell if cell is not none}} {% elif table.columns[loop.index0].name == 'Node': %} {{ cell if cell is not none}} {% elif table.columns[loop.index0].name == 'CPU Usage': %} {{ cell|cpu if cell is not none }} {% elif table.columns[loop.index0].name == 'Memory Usage': %} {{ cell|memory('MiB') if cell is not none }} MiB {% else: %} {{ cell if cell is not none}} {% endif %} {{ row.object.metadata.creationTimestamp.replace('T', ' ').replace('Z', '') }} {% for link in object_links[table.api_obj_class.endpoint]: %} {% endfor %}
No {{ table.api_obj_class.kind }} objects {% if namespace and not is_all_namespaces:%} in namespace "{{ namespace }}"{% endif %} found.
{% endfor %}
{% if namespace and plural != 'namespaces' and not is_all_namespaces: %}

Show {{ plural }} across all namespaces

{% endif %}

Found {{ list_total_rows }} row{{ 's' if list_total_rows != 1 }} for {{ list_resource_types|length }} resource type{{ 's' if list_resource_types|length != 1}} in {{ list_clusters|length }} cluster{{ 's' if list_clusters|length != 1 }} in {{ '%.3f'|format(list_duration) }} seconds.

{% for cluster_name, errors in list_errors.items(): %}

Error{{ 's' if errors|length > 1 }} for cluster {{ cluster_name }}

{% for error in errors: %}

Failed to search {{ error.resource_type }}: {{ error.exception }}

{% endfor %}
{% endfor %} {% endblock %}