Skip to content

[Help] Lower cAdvisor refresh interval #8469

@SoerenHenning

Description

@SoerenHenning

By default, cAdvisor metrics (https://<node-ip>:10250/metrics/cadvisor) such as pod CPU usage seem to be updated every 15-20 seconds. I would like to get these metrics more frequently and figured out that setting something like --housekeeping-interval 5s in the kublet start command should achieve this.

Unfortunately, I found no documentation on how to set this configuration via eksctl.

The following

#...
nodeGroups:
  - name: <node-type>
    # ...
    kubeletExtraConfig:
      housekeepingInterval: "5s"

does not seem to work, as the value is passed to /etc/kubernetes/kubelet/kubelet-config.json but is no known field for a KubeletConfiguration.

Is there any other way to pass a housekeeping-interval to the kubelet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions