Skip to content

[feature request] add IsCRIEnabled field in /info API and show it in pouch info cli #1908

@allencloud

Description

@allencloud

Ⅰ. Issue Description

Currently PouchContainer has supported enabling CRI part to be called by kubelet. Then when deploying PouchContainer in Kubernetes, we need to provide a user-friendly way tell deployer whether pouchd has enabled CRI or not?

So, I request a feature that a field IsCRIEnabled bool could be covered in api/types/system_info.go.

Then, when executing pouch info, there is a line of IsCRIEnabled: true or IsCRIEnabled: false.

Ⅱ. Describe what happened

no cri enabled information is covered in pouch info

Ⅲ. Describe what you expected to happen

when executing pouch info, there is a line of IsCRIEnabled: true or IsCRIEnabled: false.

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions