Kubernetes Web View to list and view all Kubernetes resources https://kube-web-view.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
792 B

<h4 class="title is-5">Events</h4>
<table class="table is-striped">
{% for event in events: %}
<td class="{{ get_cell_class("events", "Type", event.obj.type) }}">{{ event.obj.type }}</td>
<td class="{{ get_cell_class("events", "Reason", event.obj.reason) }}">{{ event.obj.reason }}</td>
<td style="color:{{ age_color(event.obj.lastTimestamp, days=1) }}">{{ event.obj.lastTimestamp.replace('T', ' ').replace('Z', '') if event.obj.lastTimestamp else "Unknown" }}</td>
<td>{{ event.obj.source.component }}</td>
<td>{{ event.obj.message }}</td>
{% else: %}
<td colspan="5">No events found.</td>
{% endfor %}