Skip to content

Check the number of objects in etcd from latest must-gather versions #6

@oarribas

Description

@oarribas

In newer must-gather versions (4.17.5+ and 4.16.27+ for now), there is a new file in the etcd_info subdirectory, that includes the etcd object count (check RFE-5765 [1] and the PR [2] for additional information).

That file (when present in the must-gather) can be used by the off-line script to show if there is any object with too many occurrences, as it could affects the etcd performance and cluster stability.

The file is a key-value json with object_kind: number_of_objects, like:

$ jq . etcd_info/object_count.json
{
  "events": "1242",
  "secrets": "635",
  "configmaps": "525",
[...]

[1] https://issues.redhat.com/browse/RFE-5765
[2] openshift/must-gather#435

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions