Our AWK EKS cluster does not seem to have 'kubelet' pods or any pod containing the label k8s-app=kubelet
.
Therefore, monitoring the cluster, we're missing some metrics like container_cpu_usage_seconds_total
which, as far as I can track, should have been provided by cAdvisor via a kubelet
pod.
Our AWK EKS only has aws-node-xxxxx
, coredns-xxxxxxxxx-xxxxx
and kube-proxy-xxxx
pods in the kube-system
namespace.
I looked up the metrics of the aws-node
, but this does not contain the container_cpu_usage_seconds_total
metric.
Any idea why there is no kubelet
pod on EKS? I thought it is quite basic, so it should be there somehow. Is it hidden? Can it be accessed for metrics?
How to get metrics like container_cpu_usage_seconds_total
on EKS?
答案 0 :(得分:0)
Kubelet作为EKS工作程序节点内的systemd守护程序运行。您可以通过SSH进入EC2工作实例,然后尝试运行“ systemctl status kubelet”来确认这一点。