{% extends "htmx/form_base.html" %} {% load htmx %} {% block form %} {# hx-target/include/swap are inherited by every hx-post element below #}
| Name | {% if show_namespace %}Namespace | {% endif %}Ready | Up-to-date | Available | Replicas |
|---|---|---|---|---|---|
| {{ d.name }} | {% if show_namespace %}{{ d.namespace }} | {% endif %}{% if d.replicas == 0 %} {{ d.ready }}/{{ d.replicas }} {% elif d.ready == d.replicas %} {{ d.ready }}/{{ d.replicas }} {% else %} {{ d.ready }}/{{ d.replicas }} {% endif %} | {{ d.up_to_date }} | {{ d.available }} |
{{ d.replicas }}
{% if d.replicas > 0 %}
{% endif %}
|
| Name | {% if show_namespace %}Namespace | {% endif %}Ready | Status | Restarts | Age | Actions |
|---|---|---|---|---|---|---|
| {{ pod.name }} | {% if show_namespace %}{{ pod.namespace }} | {% endif %}{{ pod.ready }} | {% if pod.status == "Running" %} Running {% elif pod.status == "Completed" %} {{ pod.status }} {% elif pod.status == "Pending" or pod.status == "ContainerCreating" %} {{ pod.status }} {% else %} {{ pod.status }} {% endif %} | {{ pod.restarts }} | {{ pod.age }} |