事件查看
- 查看事件并输出资源类型名称
kubectl get events -A -o=jsonpath='{range .items[*]}{.involvedObject.namespace} {.involvedObject.name} {.involvedObject.kind} {.source.component} {.source.name} {.message}{"\n"}{end}'
-
kubectl get events -A -o=jsonpath='{range .items[*]}{.involvedObject.namespace} {.involvedObject.name} {.involvedObject.kind} {.source.component} {.source.name} {.message}{"\n"}{end}'