Skip to content

[Feature Request] Print current config of cri-o in CRI Status endpoint output/crictl info command #9122

@tariq1890

Description

@tariq1890

We would like to be able to retrieve the currently applied configuration of a CRI-O process by querying the CRI status endpoint. The only way to retrieve the current config is through the crio status config command.

The crio status config command is not a great option for us as there is no guarantee that the crio binary would be found in a standard bin path. It is common for platforms to have a crio binary installed in a completely custom and non-standard path. To get around this, we would like to query the CRI socket endpoint instead. containerd currently provides this. Would it be possible to implement the same capability in cri-o?

I have attached the crictl info outputs of containerd and crio for reference

containerd-crictl-info.json
crio-critctl-info.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions