{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load settings %}
{% load render_table from django_tables2 %}
{% load perms %}
{% block controls %}
{{ block.super }}
{% endblock controls %}
{% block breadcrumbs %}
{{ block.super }}
{% endblock %}
{% block tabs %}
{{ block.super }}
{% endblock %}
{% block content %}
| Cluster env |
{% badge object.cluster_env bg_color=object.get_cluster_color %}
|
| App env |
{{ object.app_env }} |
| MTLS |
{{ object.mtls }} |
| Repo |
{{ object.repo }} |
| Branch |
{{ object.branch }} |
| Path |
{{ object.path }} |
| Egress IP |
{{ object.egress_ip }} |
| Deployment Kind |
{{ object.deployment_kind }} |
| Monitoring |
{{ object.monitoring }} |
| Postgres Monitoring |
{{ object.postgres_monitoring }} |
| OCP Project |
{{ object.ocp_project|linkify|placeholder }} |
| Limits |
| CPU |
{{ object.limits_cpu|placeholder }} |
| Limits |
{{ object.limits_memory|placeholder }} |
| Requests |
| Requests |
{{ object.requests_cpu|placeholder }} |
| Requests |
{{ object.requests_memory|placeholder }} |
|
Resource Quota OCP
|
| Element |
Amount |
Total |
|
CPU
1 CPU Core {% get_cpu_cost %} CHF
|
{{ object.limits_cpu|placeholder }} |
{% if object.limits_cpu %}
{% calculate_cpu_cost object.limits_cpu %} CHF |
{% else %}
{{ None|placeholder }} |
{% endif %}
|
Memory
1 GB Memory {% get_memory_cost %} CHF
|
{{ object.limits_memory|placeholder }} |
{% if object.limits_memory %}
{% calculate_memory_cost object.limits_memory %} CHF |
{% else %}
{{ None|placeholder }} |
{% endif %}
|
Storage
1 GB Storage {% get_storage_cost %} CHF
|
{{ None|placeholder }} |
{{ None|placeholder }} |
| Total (CHF) |
|
{% calculate_total_cost object.limits_cpu object.limits_memory 0 %} CHF |
{% include 'inc/panels/custom_fields.html' %}
{% endblock %}