Forráskód Böngészése

Implemented sub events view

jnfrati 4 éve
szülő
commit
7c0f7a0f76

+ 0 - 7
dashboard/src/components/events/EventDetail.tsx

@@ -1,7 +0,0 @@
-import React from "react";
-
-const EventDetail = () => {
-  return <div></div>;
-};
-
-export default EventDetail;

+ 142 - 0
dashboard/src/components/events/SubEventsList.tsx

@@ -0,0 +1,142 @@
+import React, { useContext, useEffect, useMemo, useState } from "react";
+import styled from "styled-components";
+import backArrow from "assets/back_arrow.png";
+import api from "shared/api";
+import { Context } from "shared/Context";
+import SubEventCard from "./sub-events/SubEventCard";
+import Loading from "components/Loading";
+import LogBucketCard from "./sub-events/LogBucketCard";
+
+const SubEventsList: React.FC<{
+  clearSelectedEvent: () => void;
+  event: any;
+}> = ({ event, clearSelectedEvent }) => {
+  const { currentProject, currentCluster } = useContext(Context);
+  const [isLoading, setIsLoading] = useState(true);
+  const [subEvents, setSubEvents] = useState(null);
+
+  const getData = async () => {
+    const project_id = currentProject?.id;
+    const cluster_id = currentCluster?.id;
+    const kube_event_id = event?.id;
+
+    try {
+      const updatedEvent = await api
+        .getKubeEvent("<token>", {}, { project_id, cluster_id, kube_event_id })
+        .then((res) => res?.data);
+
+      const logBucketsData = await api
+        .getLogBuckets("token", {}, { project_id, cluster_id, kube_event_id })
+        .then((res) => res?.data);
+
+      const logBucketsParsed = logBucketsData.log_buckets.map(
+        (bucket: string) => {
+          const [
+            _resourceType,
+            _namespace,
+            resource_name,
+            timestamp,
+          ] = bucket.split(":");
+          return {
+            event_type: "log_bucket",
+            resource_name,
+            timestamp: new Date(timestamp).toUTCString(),
+            parent_id: updatedEvent?.id,
+          };
+        }
+      );
+
+      setSubEvents([...updatedEvent.sub_events, ...logBucketsParsed]);
+    } catch (error) {
+      console.error(error);
+    } finally {
+      setIsLoading(false);
+    }
+  };
+
+  useEffect(() => {
+    getData();
+  }, [event, currentCluster, currentProject]);
+
+  const sortedSubEvents = useMemo(() => {
+    if (!Array.isArray(subEvents)) {
+      return [];
+    }
+    return subEvents
+      .map((s) => ({
+        ...s,
+        timestamp: new Date(s.timestamp).getTime(),
+      }))
+      .sort((prev, next) => next.timestamp - prev.timestamp)
+      .map((s) => ({
+        ...s,
+        timestamp: new Date(s.timestamp).toUTCString(),
+      }));
+  }, [subEvents]);
+
+  return (
+    <>
+      <ControlRow>
+        <div>
+          <BackButton onClick={clearSelectedEvent}>
+            <BackButtonImg src={backArrow} />
+          </BackButton>
+        </div>
+      </ControlRow>
+      {isLoading ? (
+        <Loading />
+      ) : sortedSubEvents?.length ? (
+        <EventsGrid>
+          {sortedSubEvents.map((subEvent: any) => {
+            if (subEvent?.event_type === "log_bucket") {
+              return <LogBucketCard logEvent={subEvent} />;
+            }
+            return <SubEventCard subEvent={subEvent} />;
+          })}
+        </EventsGrid>
+      ) : (
+        "No sub events found for this resource "
+      )}
+    </>
+  );
+};
+
+export default SubEventsList;
+
+const ControlRow = styled.div`
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  margin-top: 35px;
+  margin-bottom: 35px;
+  padding-left: 0px;
+`;
+
+const BackButton = styled.div`
+  display: flex;
+  width: 36px;
+  cursor: pointer;
+  height: 36px;
+  align-items: center;
+  justify-content: center;
+  border: 1px solid #ffffff55;
+  border-radius: 100px;
+  background: #ffffff11;
+  :hover {
+    background: #ffffff22;
+    > img {
+      opacity: 1;
+    }
+  }
+`;
+
+const BackButtonImg = styled.img`
+  width: 16px;
+  opacity: 0.75;
+`;
+
+const EventsGrid = styled.div`
+  display: grid;
+  grid-row-gap: 15px;
+  grid-template-columns: 1;
+`;

+ 0 - 4165
dashboard/src/components/events/mock.ts

@@ -1,4165 +0,0 @@
-export const mockEvents = {
-  count: 9,
-  limit: 50,
-  skip: 0,
-  kube_events: [
-    {
-      created_at: "2021-11-09T11:50:21.727846Z",
-      updated_at: "2021-11-09T23:47:47.542455Z",
-      id: 5623,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-7b8476b858-m88xh",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:19:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:12:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:00:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:01:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:25:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:50:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:20:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:01:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:53:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:32:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:17:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:04:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:51:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:05:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:34:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:37:35Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:59:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:37:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:26:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:11:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:33:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:46:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:46:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:06:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:11:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:21:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:53:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:04:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:33:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:07:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:56:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:32:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:29:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:32:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:22:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:09:02Z",
-        },
-        {
-          event_type: "Normal",
-          message: "Pod transitioned from unhealthy to healthy state",
-          reason: "",
-          timestamp: "2021-11-09T22:00:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:26:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:47:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:47:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:21:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:53:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:07:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:47:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:00:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:09:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:03:50Z",
-        },
-        {
-          event_type: "Normal",
-          message: "Pod transitioned from unhealthy to healthy state",
-          reason: "",
-          timestamp: "2021-11-09T16:11:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:03:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:46:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:20:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:14:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:15:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:06:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:41:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:25:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:05:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:16:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:38:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:11:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:53:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:18:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:42:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:52:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:17:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:30:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:57:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:38:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:57:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:33:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:45:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:12:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:07:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:53:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:57:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:16:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:19:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:25:52Z",
-        },
-        {
-          event_type: "Normal",
-          message: "Pod transitioned from unhealthy to healthy state",
-          reason: "",
-          timestamp: "2021-11-09T23:16:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:16:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:27:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:11:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:34:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:45:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:57:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:17:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:43:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:19:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:28:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:06:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:25:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:20:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:15:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:06:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:43:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:29:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:43:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:07:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:34:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:28:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:56:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:38:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:52:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:59:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:00:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:27:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:58:42Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:28:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:19:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:22:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:22:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:12:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:43:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:59:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:16:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:56:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:05:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:21:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:12:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:23:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:50:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:27:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:05:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:01:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:23:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:38:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:12:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:58:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:18:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:48:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:48:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:48:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:28:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:01:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:21:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:48:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:47:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:09:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:08:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:14:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:51:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:14:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:15:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:27:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:37:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:32:35Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:51:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:45:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:53:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:55:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:31:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:53:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:47:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:11:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:10:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:54:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:37:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:52:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:55:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:28:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:16:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:40:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:40:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:08:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:42:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:28:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:41:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:04:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:33:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:38:42Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:14:56Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:02:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:23:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:17:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:31:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:50:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:51:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:23:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:15:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:14:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:55:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:30:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:14:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:47:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:47:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:11:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:25:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:51:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:51:35Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:58:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:10:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:00:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:52:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:26:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:50:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:54:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:45:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:56:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:16:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:43:35Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:42:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:06:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:49:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:06:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:50:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:56:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:18:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:18:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:30:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:48:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:42:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:32:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:27:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:02:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:41:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:09:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:01:19Z",
-        },
-        {
-          event_type: "Normal",
-          message: "Pod transitioned from unhealthy to healthy state",
-          reason: "",
-          timestamp: "2021-11-09T19:52:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:37:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:09:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:26:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:49:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:19:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:32:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:44:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:13:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:22:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:54:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:29:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:57:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:56:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:58:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:40:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:02:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:02:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:33:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:24:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:24:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:31:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:51:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:35:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:40:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:46:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:04:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:35:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:13:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:52:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:01:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:39:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:29:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:24:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:24:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:07:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:42:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:36:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:01:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:55:56Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:01:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T23:42:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:41:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:39:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:03:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:42:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:23:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:49:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:36:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T20:33:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:37:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:41:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:10:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:10:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T19:21:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:50:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:23:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:04:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:13:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:20:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:35:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:07:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T18:09:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:36:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:30:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:31:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:52:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:36:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T17:38:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:56:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:35:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T22:36:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:44:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T21:44:46Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:17:16.795956Z",
-      updated_at: "2021-11-09T00:17:16.807847Z",
-      id: 5199,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:17:14Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:21:26.005053Z",
-      updated_at: "2021-11-09T00:21:36.604601Z",
-      id: 5211,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:21:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:21:25Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:26:29.451013Z",
-      updated_at: "2021-11-09T00:26:40.568346Z",
-      id: 5219,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:26:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:26:29Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:31:40.121101Z",
-      updated_at: "2021-11-09T00:31:54.571963Z",
-      id: 5227,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:31:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:31:40Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:36:40.454782Z",
-      updated_at: "2021-11-09T00:36:54.561102Z",
-      id: 5234,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:36:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:36:40Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:41:54.459132Z",
-      updated_at: "2021-11-09T00:42:01.560652Z",
-      id: 5244,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:42:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:41:54Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:52:05.804803Z",
-      updated_at: "2021-11-09T00:52:20.561108Z",
-      id: 5261,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:52:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:52:05Z",
-        },
-      ],
-    },
-    {
-      created_at: "2021-11-09T00:46:52.3041Z",
-      updated_at: "2021-11-09T16:11:59.590346Z",
-      id: 5254,
-      project_id: 12,
-      cluster_id: 12,
-      resource_type: "Pod",
-      name: "across-carefully-measure-web-86bc89bf8c-sc7xb",
-      owner_type: "Deployment",
-      owner_name: "across-carefully-measure-web",
-      namespace: "default",
-      sub_events: [
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:33:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:52:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:06:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:52:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:41:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:38:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:03:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:59:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:06:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:53:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:29:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:08:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:08:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:47:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:47:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:18:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:30:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:33:42Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:17:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:15:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:20:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:48:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:33:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:52:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:14:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:48:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:46:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:22:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:01:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:08:48Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:41:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:45:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:46:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:51:48Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:14:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:48:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:48:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:34:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:13:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:53:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:19:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:14:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:00:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:10:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:52:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:40:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:16:48Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:58:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:26:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:17:56Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:57:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:48:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:38:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:44:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:34:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:11:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:13:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:13:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:29:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:44:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:44:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:23:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:55:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:13:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:57:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:57:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:47:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:07:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:51:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:02:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:02:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T00:46:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:33:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:32:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:27:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:29:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:24:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:28:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:27:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:23:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:32:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:20:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:39:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:57:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:34:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:58:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:58:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:07:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:38:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:48:42Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:48:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:03:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:58:56Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:58:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:23:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:34:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:29:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:28:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:15:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:54:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:33:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:34:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:38:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:59:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:59:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:06:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:43:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:39:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:41:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:07:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:20:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:07:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:31:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:31:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:05:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:11:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:44:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:06:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:57:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:15:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:17:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:08:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:57:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:44:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:02:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:53:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:01:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:00:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:24:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:56:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:56:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:06:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:01:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:02:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:11:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:58:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:36:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:14:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:12:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:37:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:31:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:27:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:22:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:22:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:20:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:55:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:23:42Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:13:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:17:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:46:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:09:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:21:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:21:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:42:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:42:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:43:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:29:35Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:49:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:02:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:02:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:12:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:26:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:26:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:50:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:03:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:10:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:12:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:27:56Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:07:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:09:11Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:28:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:43:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:49:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:38:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:03:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:18:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:26:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:51:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:53:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:12:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:09:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:51:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:51:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:57:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:33:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:33:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:20:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:55:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:43:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:30:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:30:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:36:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:35:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:17:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:18:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:51:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:08:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:30:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:13:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:39:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:51:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:56:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:32:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:25:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:24:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:54:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:02:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:11:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:58:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:11:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:11:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:05:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:36:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:05:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:00:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:39:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:24:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:03:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:44:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:54:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:37:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:54:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:06:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:10:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:09:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:20:08Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:30:41Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:41:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:26:17Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:37:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:21:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:49:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:52:32Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:40:48Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:35:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:45:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:16:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:16:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:13:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:39:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:42:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:42:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:53:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:50:06Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:37:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:32:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:30:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:25:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:15:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:01:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:42:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:56:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:25:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:25:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:25:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:57:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:56:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:10:38Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:07:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:44:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:00:26Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:22:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:47:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:43:27Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:09:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:49:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:28:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:28:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:42:23Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:16:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:39:05Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:37:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:28:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:16:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:21:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:27:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:25:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:23:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:23:36Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:35:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:53:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:15:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:23:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:31:59Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:43:18Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:28:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:46:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:20:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:55:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:19:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:31:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:04:55Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:04:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:45:51Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:50:07Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:04:47Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:07:48Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:49:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:35:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:59:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:18:29Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:27:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:40:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:15:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:41:33Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:12:30Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:10:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:21:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:34:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:04:04Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:03:46Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:52:34Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:52:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:17:43Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:12:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:09:24Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T10:56:14Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:36:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:05:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:35:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:38:40Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:04:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:19:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:11:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T11:47:20Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T06:39:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:47:31Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:18:21Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:22:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T04:47:19Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:59:12Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T07:05:28Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T16:04:16Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:11:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T01:17:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T08:37:52Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:39:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:08:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:27:15Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:32:03Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:57:57Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T02:24:10Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:46:09Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:45:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T03:15:00Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:38:53Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:03:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:02:50Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:08:39Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:57:45Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:01:37Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:53:49Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:54:01Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:48:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:19:13Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T09:19:02Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:21:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:43:58Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T15:43:44Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T05:38:22Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T14:01:25Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T12:33:54Z",
-        },
-        {
-          event_type: "Critical",
-          message: "containers with unready status: [web]",
-          reason: "ContainersNotReady",
-          timestamp: "2021-11-09T13:09:58Z",
-        },
-      ],
-    },
-  ],
-};

+ 147 - 0
dashboard/src/components/events/sub-events/LogBucketCard.tsx

@@ -0,0 +1,147 @@
+import React, { useContext, useEffect, useState } from "react";
+import api from "shared/api";
+import { Context } from "shared/Context";
+import styled from "styled-components";
+
+type LogBucketCardProps = {
+  logEvent: any;
+};
+
+const getReadableDate = (s: number) => {
+  let ts = new Date(s);
+  let date = ts.toLocaleDateString();
+  let time = ts.toLocaleTimeString([], {
+    hour: "numeric",
+    minute: "2-digit",
+  });
+  return `${time} ${date}`;
+};
+
+const LogBucketCard: React.FunctionComponent<LogBucketCardProps> = ({
+  logEvent,
+}) => {
+  const { currentProject, currentCluster } = useContext(Context);
+  const [isLoading, setIsLoading] = useState(true);
+  const [isExpanded, setIsExpanded] = useState(false);
+  const [logs, setLogs] = useState([]);
+
+  const getLogsForBucket = async () => {
+    const project_id = currentProject?.id;
+    const cluster_id = currentCluster?.id;
+    const kube_event_id = logEvent?.parent_id;
+    const timestamp = logEvent?.timestamp;
+    try {
+      const logsData = await api
+        .getLogBucketLogs(
+          "<token>",
+          { timestamp: new Date(timestamp).getTime() },
+          { project_id, cluster_id, kube_event_id }
+        )
+        .then((res) => res?.data);
+      setLogs(logsData.logs);
+      setIsLoading(false);
+    } catch (error) {
+      console.error(error);
+    }
+  };
+
+  useEffect(() => {
+    getLogsForBucket();
+  }, [currentProject, currentCluster, logEvent]);
+
+  return (
+    <StyledCard>
+      <div style={{ display: "flex", alignItems: "center" }}>
+        <Icon className="material-icons-outlined">info</Icon>
+        <InfoWrapper>
+          <div>
+            <EventName>Logs for: {logEvent.resource_name}</EventName>
+          </div>
+        </InfoWrapper>
+      </div>
+      <InfoWrapper>
+        <TimestampContainer>
+          <i className="material-icons-outlined">access_time</i>
+          {getReadableDate(logEvent.timestamp)}
+        </TimestampContainer>
+        <button onClick={() => setIsExpanded((expanded) => !expanded)}>
+          Show more
+        </button>
+      </InfoWrapper>
+
+      {/* Case: Is still getting logs and user triggered expanded */}
+      {isExpanded && isLoading && "Loading"}
+      {/* Case: No logs found after the api call */}
+      {isExpanded && !isLoading && !logs?.length && "No logs found"}
+      {/* Case: Logs were found successfully  */}
+      {isExpanded &&
+        !isLoading &&
+        logs?.length &&
+        logs?.map((l) => <span>{l}</span>)}
+    </StyledCard>
+  );
+};
+
+export default LogBucketCard;
+
+const StyledCard = styled.div`
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  border: 1px solid #ffffff44;
+  background: #ffffff08;
+  margin-bottom: 10px;
+  border-radius: 10px;
+  padding-left: 20px;
+  padding-right: 20px;
+  overflow: hidden;
+  height: 80px;
+  cursor: pointer;
+  justify-content: space-between;
+
+  :hover {
+    background: #ffffff11;
+    border: 1px solid #ffffff66;
+  }
+`;
+
+const Icon = styled.span<{ status?: "critical" | "normal" }>`
+  font-size: 22px;
+  margin-right: 18px;
+  color: ${({ status }) =>
+    status ? (status === "critical" ? "#cc3d42" : "#38a88a") : "#efefef"};
+`;
+
+const InfoWrapper = styled.div`
+  display: flex;
+  flex-direction: column;
+`;
+
+const EventName = styled.div`
+  font-size: 13px;
+  font-family: "Work Sans", sans-serif;
+  font-weight: 500;
+  color: #ffffff;
+`;
+
+const TimestampContainer = styled.div`
+  display: flex;
+  align-items: center;
+  color: #ffffff55;
+  font-size: 13px;
+  margin-top: 8px;
+  justify-self: flex-end;
+
+  > i {
+    margin-right: 5px;
+    font-size: 18px;
+    margin-left: -1px;
+  }
+`;
+
+const EventReason = styled.div`
+  font-size: 16px;
+  font-family: "Work Sans", sans-serif;
+  color: #ffffff;
+  margin-top: 8px;
+`;

+ 116 - 0
dashboard/src/components/events/sub-events/SubEventCard.tsx

@@ -0,0 +1,116 @@
+import React, { useState } from "react";
+import styled from "styled-components";
+
+type CardProps = {
+  subEvent: any;
+};
+
+const getReadableDate = (s: number) => {
+  let ts = new Date(s);
+  let date = ts.toLocaleDateString();
+  let time = ts.toLocaleTimeString([], {
+    hour: "numeric",
+    minute: "2-digit",
+  });
+  return `${time} ${date}`;
+};
+
+const SubEventCard: React.FunctionComponent<CardProps> = ({ subEvent }) => {
+  return (
+    <StyledCard>
+      <div style={{ display: "flex", alignItems: "center" }}>
+        <Icon
+          status={subEvent.event_type.toLowerCase() as any}
+          className="material-icons-outlined"
+        >
+          {subEvent.event_type.toLowerCase() === "critical"
+            ? "report_problem"
+            : "info"}
+        </Icon>
+        <InfoWrapper>
+          <div>
+            <EventName>Event type: {subEvent.event_type}</EventName>
+            <EventReason>Detail: {subEvent.message}</EventReason>
+          </div>
+        </InfoWrapper>
+      </div>
+      <TimestampContainer>
+        <i className="material-icons-outlined">access_time</i>
+        {getReadableDate(subEvent.timestamp)}
+      </TimestampContainer>
+    </StyledCard>
+  );
+};
+
+export default SubEventCard;
+
+const StyledCard = styled.div`
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  border: 1px solid #ffffff44;
+  background: #ffffff08;
+  margin-bottom: 10px;
+  border-radius: 10px;
+  padding-left: 20px;
+  padding-right: 20px;
+  overflow: hidden;
+  height: 80px;
+  cursor: pointer;
+  justify-content: space-between;
+
+  :hover {
+    background: #ffffff11;
+    border: 1px solid #ffffff66;
+  }
+`;
+
+const Icon = styled.span<{ status?: "critical" | "normal" }>`
+  font-size: 22px;
+  margin-right: 18px;
+  color: ${({ status }) =>
+    status ? (status === "critical" ? "#cc3d42" : "#38a88a") : "#efefef"};
+  animation: ${({ status }) => !status && "rotating 3s linear infinite"};
+  @keyframes rotating {
+    from {
+      transform: rotate(0deg);
+    }
+    to {
+      transform: rotate(360deg);
+    }
+  }
+`;
+
+const InfoWrapper = styled.div`
+  display: flex;
+  flex-direction: column;
+`;
+
+const EventName = styled.div`
+  font-size: 13px;
+  font-family: "Work Sans", sans-serif;
+  font-weight: 500;
+  color: #ffffff;
+`;
+
+const TimestampContainer = styled.div`
+  display: flex;
+  align-items: center;
+  color: #ffffff55;
+  font-size: 13px;
+  margin-top: 8px;
+  justify-self: flex-end;
+
+  > i {
+    margin-right: 5px;
+    font-size: 18px;
+    margin-left: -1px;
+  }
+`;
+
+const EventReason = styled.div`
+  font-size: 16px;
+  font-family: "Work Sans", sans-serif;
+  color: #ffffff;
+  margin-top: 8px;
+`;

+ 0 - 1
dashboard/src/components/events/sub-events/useSubEvents.tsx

@@ -1 +0,0 @@
-export const useSubEvents = () => {};

+ 1 - 2
dashboard/src/components/events/useEvents.ts

@@ -3,7 +3,6 @@ import { useContext, useEffect, useMemo, useState } from "react";
 import api from "shared/api";
 import { Context } from "shared/Context";
 import { KubeEvent } from "shared/types";
-import { mockEvents } from "./mock";
 
 export const useKubeEvents = (
   resourceType: "NODE" | "POD" | "HPA",
@@ -161,7 +160,7 @@ export const useKubeEvents = (
 
   // Fill up the data missing on events with the subevents
   const processedKubeEvents = useMemo(() => {
-    return mockEvents.kube_events.map((e) => {
+    return kubeEvents.map((e: any) => {
       const lastSubEvent = getLastSubEvent(e.sub_events);
 
       return {

+ 12 - 1
dashboard/src/main/home/cluster-dashboard/dashboard/events/EventsTab.tsx

@@ -5,6 +5,7 @@ import Loading from "components/Loading";
 import InfiniteScroll from "react-infinite-scroll-component";
 import Dropdown from "components/Dropdown";
 import { useKubeEvents } from "components/events/useEvents";
+import SubEventsList from "components/events/SubEventsList";
 
 const availableResourceTypes = [
   { label: "Pods", value: "POD" },
@@ -14,6 +15,7 @@ const availableResourceTypes = [
 
 const EventsTab = () => {
   const [resourceType, setResourceType] = useState(availableResourceTypes[0]);
+  const [currentEvent, setCurrentEvent] = useState(null);
 
   const {
     isLoading,
@@ -46,6 +48,15 @@ const EventsTab = () => {
     );
   }
 
+  if (currentEvent) {
+    return (
+      <SubEventsList
+        event={currentEvent}
+        clearSelectedEvent={() => setCurrentEvent(null)}
+      />
+    );
+  }
+
   return (
     <EventsPageWrapper>
       <ControlRow>
@@ -73,7 +84,7 @@ const EventsTab = () => {
                 <EventCard
                   event={event}
                   selectEvent={() => {
-                    console.log("SELECTED", event);
+                    setCurrentEvent(event);
                   }}
                 />
               </React.Fragment>

+ 20 - 0
dashboard/src/shared/api.tsx

@@ -1171,6 +1171,24 @@ const getKubeEvent = baseApi<
     `/api/projects/${project_id}/clusters/${cluster_id}/kube_events/${kube_event_id}`
 );
 
+const getLogBuckets = baseApi<
+  {},
+  { project_id: number; cluster_id: number; kube_event_id: number }
+>(
+  "GET",
+  ({ project_id, cluster_id, kube_event_id }) =>
+    `/api/projects/${project_id}/clusters/${cluster_id}/kube_events/${kube_event_id}/log_buckets`
+);
+
+const getLogBucketLogs = baseApi<
+  { timestamp: number },
+  { project_id: number; cluster_id: number; kube_event_id: number }
+>(
+  "GET",
+  ({ project_id, cluster_id, kube_event_id }) =>
+    `/api/projects/${project_id}/clusters/${cluster_id}/kube_events/${kube_event_id}/logs`
+);
+
 // Bundle export to allow default api import (api.<method> is more readable)
 export default {
   checkAuth,
@@ -1292,4 +1310,6 @@ export default {
   installPorterAgent,
   getKubeEvents,
   getKubeEvent,
+  getLogBuckets,
+  getLogBucketLogs,
 };