ulcadmin
round(sum by (namespace, pod) (irate(container_cpu_usage_seconds_total{job="kubelet", pod!="", image!=""}[5m])) * on (namespace, pod) group_left(owner_kind, owner_name) kube_pod_owner{} * on (namespace, pod) group_left(node) kube_pod_info{namespace="xxxx",pod="XXX"}, 0.001)
将 namespace=“xxxx”,pod=“XXX” 替换为实际的 Pod 信息