查询Event列表(1) 请求参数 请求头header参数 参数 是否必填 参数类型 说明 示例 下级对象 regionId 是 String 资源池ID,您可以查看地域和可用区来了解资源池 获取: 查 资源池列表查询 bb9fdb42056f11eda1610242ac110002 请求体body参数 无 响应参数 参数 参数类型 说明 示例 下级对象 statusCode Integer 响应状态码 800 message String 响应信息 success returnObj String 返回结果,yaml格式事件列表 error String 错误码 CCSE500 枚举参数 无 请求示例 请求url GET 请求头header { regionId:bb9fdb42056f11eda1610242ac110002 } 请求体body 无 响应示例 { "code": 0, "requestId": "804d7cc7cd144e6bbd7b9a58f1153a79", "statusCode": 800, "message": "Successfully queried the list of clusterlevel resources.", "returnObj": "apiVersion: events.k8s.io/v1nitems:n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T05:25:51Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T05:25:51Z'n name: cstorcsinodepluginshbbb.183492257b6f58dcn namespace: cstorn resourceVersion: '18359853'n uid: b6cc6a16b0134c2fb204475a409d8121n eventTime: nulln reportingController: kubeletn reportingInstance: test1110222bn reason: Pullingn regarding: {kind: Pod, namespace: cstor, name: cstorcsinodepluginshbbb, uid: f991384a4e154aa0837cb65e8b31fd95,n apiVersion: v1, resourceVersion: '17794537', fieldPath: 'spec.containers{cstorcsiplugin}'}n note: Pulling image "registryvpccrshuadong1.cnspinternal.ctyun.cn/library/cstorcsi:v3.8.0pub"n type: Normaln deprecatedSource: {component: kubelet, host: test1110222b}n deprecatedFirstTimestamp: '20250409T06:20:45Z'n deprecatedLastTimestamp: '20250410T05:25:51Z'n deprecatedCount: 252n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T06:10:45Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:count: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T06:10:45Z'n name: cstorcsinodepluginshbbb.18349258975274dfn namespace: cstorn resourceVersion: '18378122'n uid: 77d76fc0da0a425c9b05cb0fe9dbffa2n eventTime: nulln reason: Pulledn regarding: {kind: Pod, namespace: cstor, name: cstorcsinodepluginshbbb, uid: f991384a4e154aa0837cb65e8b31fd95,n apiVersion: v1, resourceVersion: '17794537', fieldPath: 'spec.containers{cstorstoragemanagernodeserver}'}n note: '(combined from similar events): Successfully pulled image "registryvpccrshuadong1.cnspinternal.ctyun.cn/library/cstorstoragemanager:v1.0.1"n in 397.148009ms (397.153699ms including waiting)'n type: Normaln deprecatedSource: {component: kubelet, host: test1110222b}n deprecatedFirstTimestamp: '20250409T06:24:24Z'n deprecatedLastTimestamp: '20250410T06:10:45Z'n deprecatedCount: 512n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T05:58:19Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T05:58:19Z'n name: amssmallbeijing1569444ccfbkds56.183443281e177b5cn namespace: defaultn resourceVersion: '18373066'n uid: 5a01f82d76884f82a70df390d9ee16fdn eventTime: nulln reportingController: kubeletn reportingInstance: default4fec3n reason: Pullingn regarding: {kind: Pod, namespace: default, name: amssmallbeijing1569444ccfbkds56,n uid: 0462fcfc6cea45748fb9edddffda1761, apiVersion: v1, resourceVersion: '17338508',n fieldPath: 'spec.containers{amssmallbeijing1}'}n note: Pulling image "registryhuadong1.crsinternal.ctyun.cn/amss/mall:1.0"n type: Normaln deprecatedSource: {component: kubelet, host: default4fec3}n deprecatedFirstTimestamp: '20250408T06:13:15Z'n deprecatedLastTimestamp: '20250410T05:58:19Z'n deprecatedCount: 545n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T05:28:23Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T05:28:23Z'n name: amssmemberguangzhou1868b7f9d99hrnms.18344327bf24658en namespace: defaultn resourceVersion: '18360882'n uid: 843ea31903b243228dde232bcb4d52a0n eventTime: nulln reportingController: kubeletn reportingInstance: defaultb2223n reason: Pullingn regarding: {kind: Pod, namespace: default, name: amssmemberguangzhou1868b7f9d99hrnms,n uid: c2b47a9d55e04438a58c32d8cde5bd7f, apiVersion: v1, resourceVersion: '17338488',n fieldPath: 'spec.containers{amssmemberguangzhou1}'}n note: Pulling image "registryhuadong1.crsinternal.ctyun.cn/amss/member:1.0"n type: Normaln deprecatedSource: {component: kubelet, host: defaultb2223}n deprecatedFirstTimestamp: '20250408T06:13:13Z'n deprecatedLastTimestamp: '20250410T05:28:23Z'n deprecatedCount: 540n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T05:43:17Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T05:43:17Z'n name: amssorderbeijing154c9755f9756dtd.183443289350fbd2n namespace: defaultn resourceVersion: '18366952'n uid: afca9200331f4b8ab3dc139d6f64080bn eventTime: nulln reportingController: kubeletn reportingInstance: default4fec3n reason: Pullingn regarding: {kind: Pod, namespace: default, name: amssorderbeijing154c9755f9756dtd,n uid: b8558519ca9c4846957dbea3bfa1ff93, apiVersion: v1, resourceVersion: '17338542',n fieldPath: 'spec.containers{amssorderbeijing1}'}n note: Pulling image "registryhuadong1.crsinternal.ctyun.cn/amss/order:1.0"n type: Normaln deprecatedSource: {component: kubelet, host: default4fec3}n deprecatedFirstTimestamp: '20250408T06:13:17Z'n deprecatedLastTimestamp: '20250410T05:43:17Z'n deprecatedCount: 543n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250410T05:46:51Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T05:46:51Z'n name: cubecnidxnxh.183443e8bdc94db4n namespace: kubesystemn resourceVersion: '18368402'n uid: ff750155ff094a74b0c3a65ed0e116b7n eventTime: nulln reportingController: kubeletn reportingInstance: test1110222bn reason: Pulledn regarding: {kind: Pod, namespace: kubesystem, name: cubecnidxnxh, uid: cef72efaf8734fb8b87113c469519cb6,n apiVersion: v1, resourceVersion: '17343438', fieldPath: 'spec.containers{cubecnidaemon}'}n note: Container image "registryvpccrshuadong1.cnspinternal.ctyun.cn/library/cubecnidaemon:v1.1.4"n already present on machinen type: Normaln deprecatedSource: {component: kubelet, host: test1110222b}n deprecatedFirstTimestamp: '20250408T06:27:02Z'n deprecatedLastTimestamp: '20250410T05:46:51Z'n deprecatedCount: 482n apiVersion: events.k8s.io/v1n metadata:n creationTimestamp: '20250408T06:27:17Z'n managedFields:n apiVersion: v1n fieldsType: FieldsV1n fieldsV1:n f:firstTimestamp: {}n f:message: {}n f:reportingComponent: {}n f:count: {}n f:reportingInstance: {}n f:type: {}n f:involvedObject: {}n f:lastTimestamp: {}n f:reason: {}n f:source:n f:component: {}n f:host: {}n manager: kubeletn operation: Updaten time: '20250410T06:16:54Z'n name: lmtagentdsfz794.183443ec01b1844an namespace: kubesystemn resourceVersion: '18380624'n uid: 996e2efa06924a22bc5446b64f6be653n eventTime: nulln reportingController: kubeletn reportingInstance: test1110222bn reason: SandboxChangedn regarding: {kind: Pod, namespace: kubesystem, name: lmtagentdsfz794, uid: 49cc7df543f246558b7819703e8c3f09,n apiVersion: v1, resourceVersion: '17343448'}n note: Pod sandbox changed, it will be killed and recreated.n type: Normaln deprecatedSource: {component: kubelet, host: test1110222b}n deprecatedFirstTimestamp: '20250408T06:27:16Z'n deprecatedLastTimestamp: '20250410T06:16:54Z'n deprecatedCount: 13242nkind: EventListnmetadata: {resourceVersion: '18382445'}n" }
来自: