From 2f96b49fbb5eb582bfb6a8518ced689435bab229 Mon Sep 17 00:00:00 2001 From: Kevin Hannon Date: Wed, 27 Sep 2023 15:21:12 -0400 Subject: [PATCH] add container filesystem to CRI api Co-authored-by: Mike Brown Kubernetes-commit: 8ae0d390d77e5f95b217254d18f64509cafaba36 --- pkg/apis/stats/v1alpha1/types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/apis/stats/v1alpha1/types.go b/pkg/apis/stats/v1alpha1/types.go index f201ce3..5435550 100644 --- a/pkg/apis/stats/v1alpha1/types.go +++ b/pkg/apis/stats/v1alpha1/types.go @@ -83,6 +83,11 @@ type RuntimeStats struct { // Usage here refers to the total number of bytes occupied by images on the filesystem. // +optional 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 (