Skip to content

Instantly share code, notes, and snippets.

@cardil
Created October 22, 2024 18:24
Show Gist options
  • Save cardil/af129bb83cbfb018b93921babd513467 to your computer and use it in GitHub Desktop.
Save cardil/af129bb83cbfb018b93921babd513467 to your computer and use it in GitHub Desktop.
An example of failure log of knative-extensions/kn-plugin-event#365
{"level":"debug","ts":"2024-10-22T20:22:20.521+0200","msg":"Sending the event","event":"{\"specversion\":\"1.0\",\"id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\",\"source\":\"kn-event/0.0.0\",\"type\":\"dev.knative.cli.plugin.event.generic\",\"datacontenttype\":\"application/json\",\"time\":\"2024-10-22T18:22:20.520820012Z\",\"data\":{\"a\":{\"b\":{\"c\":\"foo\"}}}}"}
{"level":"debug","ts":"2024-10-22T20:22:20.631+0200","msg":"Job to be executed","image":"/kn-event-sender:0.0.0","job":"{\"metadata\":{\"name\":\"kn-event-sender-w29l5z\",\"namespace\":\"demo\",\"creationTimestamp\":null,\"labels\":{\"event-id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\"}},\"spec\":{\"backoffLimit\":3,\"template\":{\"metadata\":{\"creationTimestamp\":null},\"spec\":{\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW0KHnOCRbkwujGTC4IIZXCTjrsNkxuvNUZySuM8JHdbyXKLA46FGNtF2IUunpf3VI0-y2YeGljexcc62zs97Vntu7V1UlhzRIYUWYtEm2t7HUOucY2i56OVnLXoo8-_RMPFgejLMX73zzJ7JfjA5Jur5-y2Df-HEeCDCYyoF-77v_wEAAP__ASdKiw\"}],\"resources\":{}}],\"restartPolicy\":\"Never\",\"activeDeadlineSeconds\":7}}},\"status\":{}}"}
{"level":"debug","ts":"2024-10-22T20:22:59.625+0200","msg":"Failed job","plerr":"the server rejected our request for an unknown reason (get pods kn-event-sender-w29l5z-9djts)","logs":"{}","image":"/kn-event-sender:0.0.0","job":"{\"metadata\":{\"name\":\"kn-event-sender-w29l5z\",\"namespace\":\"demo\",\"uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"resourceVersion\":\"3605\",\"generation\":1,\"creationTimestamp\":\"2024-10-22T18:22:20Z\",\"labels\":{\"event-id\":\"d6208ab0-a48a-48c0-834f-b3680cfde89f\"},\"managedFields\":[{\"manager\":\"kn-event\",\"operation\":\"Update\",\"apiVersion\":\"batch/v1\",\"time\":\"2024-10-22T18:22:20Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:labels\":{\".\":{},\"f:event-id\":{}}},\"f:spec\":{\"f:backoffLimit\":{},\"f:completionMode\":{},\"f:completions\":{},\"f:manualSelector\":{},\"f:parallelism\":{},\"f:podReplacementPolicy\":{},\"f:suspend\":{},\"f:template\":{\"f:spec\":{\"f:activeDeadlineSeconds\":{},\"f:containers\":{\"k:{\\\"name\\\":\\\"kn-event-sender\\\"}\":{\".\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"K_EVENT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"K_SINK\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}}}},{\"manager\":\"kube-controller-manager\",\"operation\":\"Update\",\"apiVersion\":\"batch/v1\",\"time\":\"2024-10-22T18:22:59Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:status\":{\"f:failed\":{},\"f:ready\":{},\"f:startTime\":{},\"f:terminating\":{},\"f:uncountedTerminatedPods\":{}}},\"subresource\":\"status\"}]},\"spec\":{\"parallelism\":1,\"completions\":1,\"backoffLimit\":3,\"selector\":{\"matchLabels\":{\"batch.kubernetes.io/controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\"}},\"manualSelector\":false,\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"batch.kubernetes.io/controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"batch.kubernetes.io/job-name\":\"kn-event-sender-w29l5z\",\"controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"job-name\":\"kn-event-sender-w29l5z\"}},\"spec\":{\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW0KHnOCRbkwujGTC4IIZXCTjrsNkxuvNUZySuM8JHdbyXKLA46FGNtF2IUunpf3VI0-y2YeGljexcc62zs97Vntu7V1UlhzRIYUWYtEm2t7HUOucY2i56OVnLXoo8-_RMPFgejLMX73zzJ7JfjA5Jur5-y2Df-HEeCDCYyoF-77v_wEAAP__ASdKiw\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Never\",\"terminationGracePeriodSeconds\":30,\"activeDeadlineSeconds\":7,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{},\"schedulerName\":\"default-scheduler\"}},\"completionMode\":\"NonIndexed\",\"suspend\":false,\"podReplacementPolicy\":\"TerminatingOrFailed\"},\"status\":{\"startTime\":\"2024-10-22T18:22:20Z\",\"failed\":3,\"terminating\":0,\"uncountedTerminatedPods\":{},\"ready\":0}}","pods":"{\"metadata\":{\"resourceVersion\":\"3607\"},\"items\":[{\"metadata\":{\"name\":\"kn-event-sender-w29l5z-9djts\",\"generateName\":\"kn-event-sender-w29l5z-\",\"namespace\":\"demo\",\"uid\":\"fd4a1c5c-fe77-4ae9-9f76-95981a83017e\",\"resourceVersion\":\"3486\",\"creationTimestamp\":\"2024-10-22T18:22:30Z\",\"labels\":{\"batch.kubernetes.io/controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"batch.kubernetes.io/job-name\":\"kn-event-sender-w29l5z\",\"controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"job-name\":\"kn-event-sender-w29l5z\"},\"ownerReferences\":[{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"name\":\"kn-event-sender-w29l5z\",\"uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"controller\":true,\"blockOwnerDeletion\":true}],\"managedFields\":[{\"manager\":\"kube-controller-manager\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:30Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:generateName\":{},\"f:labels\":{\".\":{},\"f:batch.kubernetes.io/controller-uid\":{},\"f:batch.kubernetes.io/job-name\":{},\"f:controller-uid\":{},\"f:job-name\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"d0bc5267-667b-4128-85d2-cbc29fdfc812\\\"}\":{}}},\"f:spec\":{\"f:activeDeadlineSeconds\":{},\"f:containers\":{\"k:{\\\"name\\\":\\\"kn-event-sender\\\"}\":{\".\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"K_EVENT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"K_SINK\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:enableServiceLinks\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}},{\"manager\":\"kubelet\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:39Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:status\":{\"f:conditions\":{\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Initialized\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"PodReadyToStartContainers\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Ready\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:containerStatuses\":{},\"f:hostIP\":{},\"f:hostIPs\":{},\"f:message\":{},\"f:phase\":{},\"f:podIP\":{},\"f:podIPs\":{\".\":{},\"k:{\\\"ip\\\":\\\"10.244.0.18\\\"}\":{\".\":{},\"f:ip\":{}}},\"f:reason\":{},\"f:startTime\":{}}},\"subresource\":\"status\"}]},\"spec\":{\"volumes\":[{\"name\":\"kube-api-access-2pgrl\",\"projected\":{\"sources\":[{\"serviceAccountToken\":{\"expirationSeconds\":3607,\"path\":\"token\"}},{\"configMap\":{\"name\":\"kube-root-ca.crt\",\"items\":[{\"key\":\"ca.crt\",\"path\":\"ca.crt\"}]}},{\"downwardAPI\":{\"items\":[{\"path\":\"namespace\",\"fieldRef\":{\"apiVersion\":\"v1\",\"fieldPath\":\"metadata.namespace\"}}]}}],\"defaultMode\":420}}],\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW0KHnOCRbkwujGTC4IIZXCTjrsNkxuvNUZySuM8JHdbyXKLA46FGNtF2IUunpf3VI0-y2YeGljexcc62zs97Vntu7V1UlhzRIYUWYtEm2t7HUOucY2i56OVnLXoo8-_RMPFgejLMX73zzJ7JfjA5Jur5-y2Df-HEeCDCYyoF-77v_wEAAP__ASdKiw\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"kube-api-access-2pgrl\",\"readOnly\":true,\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Never\",\"terminationGracePeriodSeconds\":30,\"activeDeadlineSeconds\":7,\"dnsPolicy\":\"ClusterFirst\",\"serviceAccountName\":\"default\",\"serviceAccount\":\"default\",\"nodeName\":\"kind-control-plane\",\"securityContext\":{},\"schedulerName\":\"default-scheduler\",\"tolerations\":[{\"key\":\"node.kubernetes.io/not-ready\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300},{\"key\":\"node.kubernetes.io/unreachable\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300}],\"priority\":0,\"enableServiceLinks\":true,\"preemptionPolicy\":\"PreemptLowerPriority\"},\"status\":{\"phase\":\"Failed\",\"conditions\":[{\"type\":\"PodReadyToStartContainers\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:38Z\"},{\"type\":\"Initialized\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:30Z\"},{\"type\":\"Ready\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:30Z\",\"reason\":\"PodFailed\"},{\"type\":\"ContainersReady\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:30Z\",\"reason\":\"PodFailed\"},{\"type\":\"PodScheduled\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:30Z\"}],\"message\":\"Pod was active on the node longer than the specified deadline\",\"reason\":\"DeadlineExceeded\",\"hostIP\":\"10.89.0.3\",\"hostIPs\":[{\"ip\":\"10.89.0.3\"}],\"podIP\":\"10.244.0.18\",\"podIPs\":[{\"ip\":\"10.244.0.18\"}],\"startTime\":\"2024-10-22T18:22:30Z\",\"containerStatuses\":[{\"name\":\"kn-event-sender\",\"state\":{\"terminated\":{\"exitCode\":137,\"reason\":\"ContainerStatusUnknown\",\"message\":\"The container could not be located when the pod was terminated\",\"startedAt\":null,\"finishedAt\":null}},\"lastState\":{},\"ready\":false,\"restartCount\":0,\"image\":\"/kn-event-sender:0.0.0\",\"imageID\":\"\",\"started\":false,\"volumeMounts\":[{\"name\":\"kube-api-access-2pgrl\",\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\",\"readOnly\":true,\"recursiveReadOnly\":\"Disabled\"}]}],\"qosClass\":\"BestEffort\"}},{\"metadata\":{\"name\":\"kn-event-sender-w29l5z-pwrbj\",\"generateName\":\"kn-event-sender-w29l5z-\",\"namespace\":\"demo\",\"uid\":\"fe563150-d855-414a-a70e-741c3159bd62\",\"resourceVersion\":\"3602\",\"creationTimestamp\":\"2024-10-22T18:22:50Z\",\"labels\":{\"batch.kubernetes.io/controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"batch.kubernetes.io/job-name\":\"kn-event-sender-w29l5z\",\"controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"job-name\":\"kn-event-sender-w29l5z\"},\"ownerReferences\":[{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"name\":\"kn-event-sender-w29l5z\",\"uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"controller\":true,\"blockOwnerDeletion\":true}],\"managedFields\":[{\"manager\":\"kube-controller-manager\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:50Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:generateName\":{},\"f:labels\":{\".\":{},\"f:batch.kubernetes.io/controller-uid\":{},\"f:batch.kubernetes.io/job-name\":{},\"f:controller-uid\":{},\"f:job-name\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"d0bc5267-667b-4128-85d2-cbc29fdfc812\\\"}\":{}}},\"f:spec\":{\"f:activeDeadlineSeconds\":{},\"f:containers\":{\"k:{\\\"name\\\":\\\"kn-event-sender\\\"}\":{\".\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"K_EVENT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"K_SINK\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:enableServiceLinks\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}},{\"manager\":\"kubelet\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:59Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:status\":{\"f:conditions\":{\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Initialized\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"PodReadyToStartContainers\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Ready\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:containerStatuses\":{},\"f:hostIP\":{},\"f:hostIPs\":{},\"f:message\":{},\"f:phase\":{},\"f:podIP\":{},\"f:podIPs\":{\".\":{},\"k:{\\\"ip\\\":\\\"10.244.0.19\\\"}\":{\".\":{},\"f:ip\":{}}},\"f:reason\":{},\"f:startTime\":{}}},\"subresource\":\"status\"}]},\"spec\":{\"volumes\":[{\"name\":\"kube-api-access-fk4sv\",\"projected\":{\"sources\":[{\"serviceAccountToken\":{\"expirationSeconds\":3607,\"path\":\"token\"}},{\"configMap\":{\"name\":\"kube-root-ca.crt\",\"items\":[{\"key\":\"ca.crt\",\"path\":\"ca.crt\"}]}},{\"downwardAPI\":{\"items\":[{\"path\":\"namespace\",\"fieldRef\":{\"apiVersion\":\"v1\",\"fieldPath\":\"metadata.namespace\"}}]}}],\"defaultMode\":420}}],\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW0KHnOCRbkwujGTC4IIZXCTjrsNkxuvNUZySuM8JHdbyXKLA46FGNtF2IUunpf3VI0-y2YeGljexcc62zs97Vntu7V1UlhzRIYUWYtEm2t7HUOucY2i56OVnLXoo8-_RMPFgejLMX73zzJ7JfjA5Jur5-y2Df-HEeCDCYyoF-77v_wEAAP__ASdKiw\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"kube-api-access-fk4sv\",\"readOnly\":true,\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Never\",\"terminationGracePeriodSeconds\":30,\"activeDeadlineSeconds\":7,\"dnsPolicy\":\"ClusterFirst\",\"serviceAccountName\":\"default\",\"serviceAccount\":\"default\",\"nodeName\":\"kind-control-plane\",\"securityContext\":{},\"schedulerName\":\"default-scheduler\",\"tolerations\":[{\"key\":\"node.kubernetes.io/not-ready\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300},{\"key\":\"node.kubernetes.io/unreachable\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300}],\"priority\":0,\"enableServiceLinks\":true,\"preemptionPolicy\":\"PreemptLowerPriority\"},\"status\":{\"phase\":\"Failed\",\"conditions\":[{\"type\":\"PodReadyToStartContainers\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:58Z\"},{\"type\":\"Initialized\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:50Z\"},{\"type\":\"Ready\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:50Z\",\"reason\":\"PodFailed\"},{\"type\":\"ContainersReady\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:50Z\",\"reason\":\"PodFailed\"},{\"type\":\"PodScheduled\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:50Z\"}],\"message\":\"Pod was active on the node longer than the specified deadline\",\"reason\":\"DeadlineExceeded\",\"hostIP\":\"10.89.0.3\",\"hostIPs\":[{\"ip\":\"10.89.0.3\"}],\"podIP\":\"10.244.0.19\",\"podIPs\":[{\"ip\":\"10.244.0.19\"}],\"startTime\":\"2024-10-22T18:22:50Z\",\"containerStatuses\":[{\"name\":\"kn-event-sender\",\"state\":{\"terminated\":{\"exitCode\":137,\"reason\":\"ContainerStatusUnknown\",\"message\":\"The container could not be located when the pod was terminated\",\"startedAt\":null,\"finishedAt\":null}},\"lastState\":{},\"ready\":false,\"restartCount\":0,\"image\":\"/kn-event-sender:0.0.0\",\"imageID\":\"\",\"started\":false,\"volumeMounts\":[{\"name\":\"kube-api-access-fk4sv\",\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\",\"readOnly\":true,\"recursiveReadOnly\":\"Disabled\"}]}],\"qosClass\":\"BestEffort\"}},{\"metadata\":{\"name\":\"kn-event-sender-w29l5z-rwmwm\",\"generateName\":\"kn-event-sender-w29l5z-\",\"namespace\":\"demo\",\"uid\":\"8fe09173-0fab-43cd-a128-90b6357c9cd6\",\"resourceVersion\":\"3417\",\"creationTimestamp\":\"2024-10-22T18:22:20Z\",\"labels\":{\"batch.kubernetes.io/controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"batch.kubernetes.io/job-name\":\"kn-event-sender-w29l5z\",\"controller-uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"job-name\":\"kn-event-sender-w29l5z\"},\"ownerReferences\":[{\"apiVersion\":\"batch/v1\",\"kind\":\"Job\",\"name\":\"kn-event-sender-w29l5z\",\"uid\":\"d0bc5267-667b-4128-85d2-cbc29fdfc812\",\"controller\":true,\"blockOwnerDeletion\":true}],\"managedFields\":[{\"manager\":\"kube-controller-manager\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:20Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:metadata\":{\"f:generateName\":{},\"f:labels\":{\".\":{},\"f:batch.kubernetes.io/controller-uid\":{},\"f:batch.kubernetes.io/job-name\":{},\"f:controller-uid\":{},\"f:job-name\":{}},\"f:ownerReferences\":{\".\":{},\"k:{\\\"uid\\\":\\\"d0bc5267-667b-4128-85d2-cbc29fdfc812\\\"}\":{}}},\"f:spec\":{\"f:activeDeadlineSeconds\":{},\"f:containers\":{\"k:{\\\"name\\\":\\\"kn-event-sender\\\"}\":{\".\":{},\"f:env\":{\".\":{},\"k:{\\\"name\\\":\\\"K_EVENT\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}},\"k:{\\\"name\\\":\\\"K_SINK\\\"}\":{\".\":{},\"f:name\":{},\"f:value\":{}}},\"f:image\":{},\"f:imagePullPolicy\":{},\"f:name\":{},\"f:resources\":{},\"f:terminationMessagePath\":{},\"f:terminationMessagePolicy\":{}}},\"f:dnsPolicy\":{},\"f:enableServiceLinks\":{},\"f:restartPolicy\":{},\"f:schedulerName\":{},\"f:securityContext\":{},\"f:terminationGracePeriodSeconds\":{}}}},{\"manager\":\"kubelet\",\"operation\":\"Update\",\"apiVersion\":\"v1\",\"time\":\"2024-10-22T18:22:29Z\",\"fieldsType\":\"FieldsV1\",\"fieldsV1\":{\"f:status\":{\"f:conditions\":{\"k:{\\\"type\\\":\\\"ContainersReady\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Initialized\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"PodReadyToStartContainers\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:status\":{},\"f:type\":{}},\"k:{\\\"type\\\":\\\"Ready\\\"}\":{\".\":{},\"f:lastProbeTime\":{},\"f:lastTransitionTime\":{},\"f:reason\":{},\"f:status\":{},\"f:type\":{}}},\"f:containerStatuses\":{},\"f:hostIP\":{},\"f:hostIPs\":{},\"f:message\":{},\"f:phase\":{},\"f:podIP\":{},\"f:podIPs\":{\".\":{},\"k:{\\\"ip\\\":\\\"10.244.0.17\\\"}\":{\".\":{},\"f:ip\":{}}},\"f:reason\":{},\"f:startTime\":{}}},\"subresource\":\"status\"}]},\"spec\":{\"volumes\":[{\"name\":\"kube-api-access-wfpqj\",\"projected\":{\"sources\":[{\"serviceAccountToken\":{\"expirationSeconds\":3607,\"path\":\"token\"}},{\"configMap\":{\"name\":\"kube-root-ca.crt\",\"items\":[{\"key\":\"ca.crt\",\"path\":\"ca.crt\"}]}},{\"downwardAPI\":{\"items\":[{\"path\":\"namespace\",\"fieldRef\":{\"apiVersion\":\"v1\",\"fieldPath\":\"metadata.namespace\"}}]}}],\"defaultMode\":420}}],\"containers\":[{\"name\":\"kn-event-sender\",\"image\":\"/kn-event-sender:0.0.0\",\"env\":[{\"name\":\"K_SINK\",\"value\":\"http://showcase.demo.svc.cluster.local\"},{\"name\":\"K_EVENT\",\"value\":\"eJwsjE1ugzAQhe_y1tgZJjRyfY6uujP2ELmhYwscpCri7hUom2_xfr4X1ipxk2XNReHRW0KHnOCRbkwujGTC4IIZXCTjrsNkxuvNUZySuM8JHdbyXKLA46FGNtF2IUunpf3VI0-y2YeGljexcc62zs97Vntu7V1UlhzRIYUWYtEm2t7HUOucY2i56OVnLXoo8-_RMPFgejLMX73zzJ7JfjA5Jur5-y2Df-HEeCDCYyoF-77v_wEAAP__ASdKiw\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"kube-api-access-wfpqj\",\"readOnly\":true,\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Never\",\"terminationGracePeriodSeconds\":30,\"activeDeadlineSeconds\":7,\"dnsPolicy\":\"ClusterFirst\",\"serviceAccountName\":\"default\",\"serviceAccount\":\"default\",\"nodeName\":\"kind-control-plane\",\"securityContext\":{},\"schedulerName\":\"default-scheduler\",\"tolerations\":[{\"key\":\"node.kubernetes.io/not-ready\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300},{\"key\":\"node.kubernetes.io/unreachable\",\"operator\":\"Exists\",\"effect\":\"NoExecute\",\"tolerationSeconds\":300}],\"priority\":0,\"enableServiceLinks\":true,\"preemptionPolicy\":\"PreemptLowerPriority\"},\"status\":{\"phase\":\"Failed\",\"conditions\":[{\"type\":\"PodReadyToStartContainers\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:28Z\"},{\"type\":\"Initialized\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:20Z\"},{\"type\":\"Ready\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:20Z\",\"reason\":\"PodFailed\"},{\"type\":\"ContainersReady\",\"status\":\"False\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:20Z\",\"reason\":\"PodFailed\"},{\"type\":\"PodScheduled\",\"status\":\"True\",\"lastProbeTime\":null,\"lastTransitionTime\":\"2024-10-22T18:22:20Z\"}],\"message\":\"Pod was active on the node longer than the specified deadline\",\"reason\":\"DeadlineExceeded\",\"hostIP\":\"10.89.0.3\",\"hostIPs\":[{\"ip\":\"10.89.0.3\"}],\"podIP\":\"10.244.0.17\",\"podIPs\":[{\"ip\":\"10.244.0.17\"}],\"startTime\":\"2024-10-22T18:22:20Z\",\"containerStatuses\":[{\"name\":\"kn-event-sender\",\"state\":{\"terminated\":{\"exitCode\":137,\"reason\":\"ContainerStatusUnknown\",\"message\":\"The container could not be located when the pod was terminated\",\"startedAt\":null,\"finishedAt\":null}},\"lastState\":{},\"ready\":false,\"restartCount\":0,\"image\":\"/kn-event-sender:0.0.0\",\"imageID\":\"\",\"started\":false,\"volumeMounts\":[{\"name\":\"kube-api-access-wfpqj\",\"mountPath\":\"/var/run/secrets/kubernetes.io/serviceaccount\",\"readOnly\":true,\"recursiveReadOnly\":\"Disabled\"}]}],\"qosClass\":\"BestEffort\"}}]}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment