mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Use xfs_quota command to apply quotas
This commit is contained in:
committed by
Robert Krawitz
parent
448e0c44c6
commit
f8661d6240
@@ -27,6 +27,7 @@ import (
|
||||
"k8s.io/klog"
|
||||
|
||||
"k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/api/resource"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
"k8s.io/kubernetes/pkg/util/mount"
|
||||
"k8s.io/kubernetes/pkg/volume"
|
||||
@@ -349,7 +350,7 @@ type VolumeToMount struct {
|
||||
|
||||
// DesiredSizeLimit indicates the desired upper bound on the size of the volume
|
||||
// (if so implemented)
|
||||
DesiredSizeLimit int64
|
||||
DesiredSizeLimit *resource.Quantity
|
||||
}
|
||||
|
||||
// GenerateMsgDetailed returns detailed msgs for volumes to mount
|
||||
|
||||
Reference in New Issue
Block a user