zhangpeng

Results 1 issues of zhangpeng

* 支持导出新事件,设置 `newEventType` 参数为 `true` 开启,默认为 `false` * 定时获取 cluster name 旧版事件输出 ```json {"metadata":{"name":"ks-apiserver-7b94f9bd6f-vbtfp.17e9145e250bdcef","namespace":"kubesphere-system","uid":"40fa04c5-66f2-4c6e-8201-3b13b17dbc35","resourceVersion":"8460007","creationTimestamp":"2024-08-06T07:52:07Z"},"involvedObject":{"kind":"Pod","namespace":"kubesphere-system","name":"ks-apiserver-7b94f9bd6f-vbtfp","uid":"0ec6bbc8-9ba1-42f9-87b0-0dcfa99c0c57","apiVersion":"v1","resourceVersion":"8305839"},"reason":"FailedScheduling","message":"0/1 nodes are available: 1 node(s) didn't match pod anti-affinity rules.","source":{},"firstTimestamp":null,"lastTimestamp":null,"type":"Warning","eventTime":"2024-08-06T07:52:07.026936Z","series":{"count":1013,"lastObservedTime":"2024-08-07T01:32:29.267628Z"},"action":"Scheduling","reportingComponent":"default-scheduler","reportingInstance":"default-scheduler-i-bhbpy0xx","cluster":"host"} ``` 新版事件输出 ```json {"metadata":{"name":"ks-apiserver-7b94f9bd6f-vbtfp.17e9145e250bdcef","namespace":"kubesphere-system","uid":"40fa04c5-66f2-4c6e-8201-3b13b17dbc35","resourceVersion":"8460007","creationTimestamp":"2024-08-06T07:52:07Z"},"eventTime":"2024-08-06T07:52:07.026936Z","series":{"count":1013,"lastObservedTime":"2024-08-07T01:32:29.267628Z"},"reportingController":"default-scheduler","reportingInstance":"default-scheduler-i-bhbpy0xx","action":"Scheduling","reason":"FailedScheduling","regarding":{"kind":"Pod","namespace":"kubesphere-system","name":"ks-apiserver-7b94f9bd6f-vbtfp","uid":"0ec6bbc8-9ba1-42f9-87b0-0dcfa99c0c57","apiVersion":"v1","resourceVersion":"8305839"},"note":"0/1 nodes are...