本文介绍了如何为Kubelet 1.13启用cadvisor?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为kubelet 1.13启用cadvisor?

How to enabled cadvisor for kubelet 1.13?

我想用cadvisor监视容器中的容器.有人说您应该启用

I want to cadvisor monitor containers in a pod.Somebody say you should enabled

kubelet --cadvisor-port=4194

但是我的kubelet版本是1.13,没有-cadvisor 参数.

but my kubelet version is 1.13 not have the --cadvisor parameter.

推荐答案

实际上, ChangeLog-1.12

从最新的ChangeLogs中,您可以看到cAdvisor仍然存在-只是已弃用.

From the latest ChangeLogs you can see that the cAdvisor is still there - it's just the flag to the kubelet that has been deprecated.

尽管已弃用了其UI,但仍然可以通过Prometheus监视您的容器.

Despite its UI has been deprecated it is still possible to monitor your containers via Prometheus.

关于K8s监控,有一个很好的如何" 资源通过DaemonSet运行它.

There is a good "How To" resource about K8s monitoring that explains how to run it via DaemonSet.

希望有帮助.

这篇关于如何为Kubelet 1.13启用cadvisor?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-01 10:47