add container filesystem to CRI api

Co-authored-by: Mike Brown <brownwm@us.ibm.com>

Kubernetes-commit: 8ae0d390d77e5f95b217254d18f64509cafaba36
This commit is contained in:
Kevin Hannon 2023-09-27 15:21:12 -04:00 committed by Kubernetes Publisher
parent ec3d415141
commit 2f96b49fbb
1 changed files with 5 additions and 0 deletions

View File

@ -83,6 +83,11 @@ type RuntimeStats struct {
// Usage here refers to the total number of bytes occupied by images on the filesystem. // Usage here refers to the total number of bytes occupied by images on the filesystem.
// +optional // +optional
ImageFs *FsStats `json:"imageFs,omitempty"` ImageFs *FsStats `json:"imageFs,omitempty"`
// Stats about the underlying filesystem where container's writeable layer is stored.
// This filesystem could be the same as the primary (root) filesystem or the ImageFS.
// Usage here refers to the total number of bytes occupied by the writeable layer on the filesystem.
// +optional
ContainerFs *FsStats `json:"containerFs,omitempty"`
} }
const ( const (