我正在使用DirectXMan12/k8s-prometheus-adapte将外部指标从 Prometheus 推送到 Kubernetes。
推送外部指标后,如何验证数据是 k8s?
当我点击kubectl get --raw /apis/external.metrics.k8s.io/v1beta1 | jq我得到了以下结果,但在那之后,我不知道如何获取实际的指标值
{
"kind": "APIResourceList",
"apiVersion": "v1",
"groupVersion": "external.metrics.k8s.io/v1beta1",
"resources": [
{
"name": "subscription_back_log",
"singularName": "",
"namespaced": true,
"kind": "ExternalMetricValueList",
"verbs": [
"get"
]
}]
}