{% extends "base.html" %} {% block title %}Application {{ application.id }}{% endblock %} {% block content %}

Application {{ application.id }} {% for link in links['application']: %} {% endfor %}

owned by team {{ application.team }}

You can potentially save {{ application.slack_cost|money }} USD every month by optimizing resource requests and reducing slack.

Ingresses

{% if ingresses_by_application[application.id]: %} {% if links['ingress']: %} {% endif %} {% for ingress in ingresses_by_application[application.id]: %} {% if links['ingress']: %} {% endif %} {%endfor %}
Cluster Namespace Name Host Status
{{ ingress.cluster_summary.cluster.name }} {{ ingress.namespace }} {{ ingress.name }} {{ ingress.host }} {{ ingress[4] }}
{% else: %}

No Ingresses found for application {{ application.id }}.

{% endif %}
{% if enable_routegroups: %}

RouteGroups

{% if routegroups_by_application and routegroups_by_application[application.id]: %} {% for rg in routegroups_by_application[application.id]: %} {% if links['routegroups']: %} {% endif %} {% endfor %}
Cluster Namespace Name Hosts
{{ rg.cluster_summary.cluster.name }} {{ rg.namespace }} {{ rg.name }} {{ rg.hosts }}
{% else: %}

No Routegroups found for application {{ application.id }}.

{% endif %}
{% endif %} {% if enable_ingressroutes: %}

IngressRoutes

{% if ingressroutes_by_application and ingressroutes_by_application[application.id]: %} {% if links['ingressroute']: %} {% endif %} {% for ir in ingressroutes_by_application[application.id]: %} {% if links['ingressroute']: %} {% endif %} {% endfor %}
Cluster Namespace Name Rules Tls
{{ ir.cluster_summary.cluster.name }} {{ ir.namespace }} {{ ir.name }}
    {% for rule in ir.host: %}
  • {{rule["match"]}}
  • {% endfor %}
{% if ir.tls: %} {{ ir.tls['certResolver'] }} {% endif %}
{% else: %}

No IngressRoutes found for application {{ application.id }}.

{% endif %}
{% endif %}

Components

{% if links['component']: %} {% endif %} {% for name, component in application.components.items()|sort: %} {% if application.cost > 0 %} {% with percentage=(component.cost / application.cost) * 100 %} {% endwith %} {% else %} {% endif %} {% if links['component']: %} {% endif %} {%endfor %}
Name C P CR MR CPU Memory (MiB) Cost Slack Cost Cost %
{% if not name: %}unnamed{% else %}{{ name }}{% endif %} {{ component.clusters|count }} {{ component.pods }} {{ component.requests.cpu|round(3) }} {{ component.requests.memory|filesizeformat(True) }} {{ elements.resource_bar_cpu(component) }} {{ elements.resource_bar_memory(component) }} {{ component.cost|money }} {{ component.slack_cost|money }}
{{ percentage|round(0)|int }}%
-

Pods

{% if links['pod']: %} {% endif %} {% for row in pods_by_application[application.id]: %} {% if links['pod']: %} {% endif %} {%endfor %}
Cluster Namespace Component Name Cont. CR MR CPU Memory (MiB) Cost Slack Cost
{{ row.cluster_summary.cluster.name }} {{ row.namespace }} {{ row.pod.component }} {{ row.name }} {{ row.pod.container_images|count }} {{ row.pod.requests.cpu|round(3) }} {{ row.pod.requests.memory|filesizeformat(True) }} {{ elements.resource_bar_cpu(row.pod) }} {{ elements.resource_bar_memory(row.pod) }} {{ row.pod.cost|money }} {{ row.pod.slack_cost|money }}
{% endblock %}