{% extends "base.html" %} {% block title %}{{ resource.name }} ({{resource.kind}}{% if namespace: %} in {{namespace}}{% endif %}){% endblock %} {% block content %}

{{ resource.name }}

{% if not show_container_logs: %}

Container Logs Disabled

Container logs are not shown as they were disabled in Kubernetes Web View. Enable them via the "--show-container-logs" kube-web-view command line option.
{% else: %}
Get last log lines {% if all_containers|length > 2: %} of {{container_name}} container {% else: %} per container {% endif %}for {{ pods|length }} pods and filter by
{% if all_container_names|length > 2: %}
{% endif %}
{% for log in logs: %}{{ log[1] }} {% if not container_name: %}{{ log[3] }} {% endif %}{{ log[0] }}{{ '\n' }}{% endfor %}
{% if filter_text and not logs: %}No matching logs found. Please note that the filter text is case sensitive!{% endif %}
{% endif %} {% endblock %}