mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-08 14:29:45 +00:00
eviction manager ecivts pod using the most inodes.
This commit is contained in:
@@ -111,6 +111,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
|
||||
"UsedBytes": bounded(kb, 10*mb),
|
||||
"InodesFree": bounded(1E4, 1E8),
|
||||
"Inodes": bounded(1E4, 1E8),
|
||||
"InodesUsed": bounded(0, 1E8),
|
||||
}),
|
||||
"Logs": ptrMatchAllFields(gstruct.Fields{
|
||||
"AvailableBytes": fsCapacityBounds,
|
||||
@@ -118,6 +119,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
|
||||
"UsedBytes": bounded(kb, 10*mb),
|
||||
"InodesFree": bounded(1E4, 1E8),
|
||||
"Inodes": bounded(1E4, 1E8),
|
||||
"InodesUsed": bounded(0, 1E8),
|
||||
}),
|
||||
"UserDefinedMetrics": BeEmpty(),
|
||||
}),
|
||||
@@ -139,6 +141,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
|
||||
// Inodes are not reported for Volumes.
|
||||
"InodesFree": BeNil(),
|
||||
"Inodes": BeNil(),
|
||||
"InodesUsed": BeNil(),
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
@@ -179,6 +182,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
|
||||
"UsedBytes": bounded(kb, 10*gb),
|
||||
"InodesFree": bounded(1E4, 1E8),
|
||||
"Inodes": bounded(1E4, 1E8),
|
||||
"InodesUsed": bounded(0, 1E8),
|
||||
}),
|
||||
"Runtime": ptrMatchAllFields(gstruct.Fields{
|
||||
"ImageFs": ptrMatchAllFields(gstruct.Fields{
|
||||
@@ -187,6 +191,7 @@ var _ = framework.KubeDescribe("Summary API", func() {
|
||||
"UsedBytes": bounded(kb, 10*gb),
|
||||
"InodesFree": bounded(1E4, 1E8),
|
||||
"Inodes": bounded(1E4, 1E8),
|
||||
"InodesUsed": bounded(0, 1E8),
|
||||
}),
|
||||
}),
|
||||
}),
|
||||
|
Reference in New Issue
Block a user