HELP ClusterRoleAggregator_adds (Deprecated) Total number of adds handled by workqueue: ClusterRoleAggregator
TYPE ClusterRoleAggregator_adds counter
ClusterRoleAggregator_adds 3
HELP ClusterRoleAggregator_depth (Deprecated) Current depth of workqueue: ClusterRoleAggregator
TYPE ClusterRoleAggregator_depth gauge
ClusterRoleAggregator_depth 0
HELP ClusterRoleAggregator_longest_running_processor_microseconds (Deprecated) How many microseconds has the longest running processor for ClusterRoleAggregator been running.
TYPE ClusterRoleAggregator_longest_running_processor_microseconds gauge
文档版本 K8s V1.18 说明你查看的是哪个 branch 的文档,即 K8S 版本,如 v1.8、v1.12。
现象描述 部署完成kube-controller-manager后在获取metrics时取到的值是
HELP apiserver_audit_event_total [ALPHA] Counter of audit events generated and sent to the audit backend.
TYPE apiserver_audit_event_total counter
apiserver_audit_event_total 0
HELP apiserver_audit_requests_rejected_total [ALPHA] Counter of apiserver requests rejected due to an error in audit logging backend.
TYPE apiserver_audit_requests_rejected_total counter
apiserver_audit_requests_rejected_total 0
HELP apiserver_client_certificate_expiration_seconds [ALPHA] Distribution of the remaining lifetime on the certificate used to authenticate a request.
TYPE apiserver_client_certificate_expiration_seconds histogram
apiserver_client_certificate_expiration_seconds_bucket{le="0"} 0 apiserver_client_certificate_expiration_seconds_bucket{le="1800"} 0
但是文档中的值是 curl -s --cacert /opt/k8s/work/ca.pem --cert /opt/k8s/work/admin.pem --key /opt/k8s/work/admin-key.pem https://172.27.138.251:10252/metrics |head
HELP ClusterRoleAggregator_adds (Deprecated) Total number of adds handled by workqueue: ClusterRoleAggregator
TYPE ClusterRoleAggregator_adds counter
ClusterRoleAggregator_adds 3
HELP ClusterRoleAggregator_depth (Deprecated) Current depth of workqueue: ClusterRoleAggregator
TYPE ClusterRoleAggregator_depth gauge
ClusterRoleAggregator_depth 0
HELP ClusterRoleAggregator_longest_running_processor_microseconds (Deprecated) How many microseconds has the longest running processor for ClusterRoleAggregator been running.
TYPE ClusterRoleAggregator_longest_running_processor_microseconds gauge
ClusterRoleAggregator_longest_running_processor_microseconds 0
HELP ClusterRoleAggregator_queue_latency (Deprecated) How long an item stays in workqueueClusterRoleAggregator before being requested.
请问这俩个值都是正常的嘛,如果都是正常的分别代表什么意思呢,还请大神指点一二