Removed un-used InodePressure condition.
This commit is contained in:
@@ -1514,7 +1514,6 @@ func TestUpdateNode(t *testing.T) {
|
|||||||
{Type: v1.NodeMemoryPressure, Status: v1.ConditionFalse},
|
{Type: v1.NodeMemoryPressure, Status: v1.ConditionFalse},
|
||||||
{Type: v1.NodeDiskPressure, Status: v1.ConditionFalse},
|
{Type: v1.NodeDiskPressure, Status: v1.ConditionFalse},
|
||||||
{Type: v1.NodeNetworkUnavailable, Status: v1.ConditionFalse},
|
{Type: v1.NodeNetworkUnavailable, Status: v1.ConditionFalse},
|
||||||
{Type: v1.NodeInodePressure, Status: v1.ConditionFalse},
|
|
||||||
}
|
}
|
||||||
return node
|
return node
|
||||||
}(),
|
}(),
|
||||||
@@ -1522,7 +1521,6 @@ func TestUpdateNode(t *testing.T) {
|
|||||||
node := newNode("node1", nil)
|
node := newNode("node1", nil)
|
||||||
node.Status.Conditions = []v1.NodeCondition{
|
node.Status.Conditions = []v1.NodeCondition{
|
||||||
{Type: v1.NodeOutOfDisk, Status: v1.ConditionTrue},
|
{Type: v1.NodeOutOfDisk, Status: v1.ConditionTrue},
|
||||||
{Type: v1.NodeInodePressure, Status: v1.ConditionFalse},
|
|
||||||
}
|
}
|
||||||
return node
|
return node
|
||||||
}(),
|
}(),
|
||||||
|
@@ -3510,8 +3510,6 @@ const (
|
|||||||
NodeDiskPressure NodeConditionType = "DiskPressure"
|
NodeDiskPressure NodeConditionType = "DiskPressure"
|
||||||
// NodeNetworkUnavailable means that network for the node is not correctly configured.
|
// NodeNetworkUnavailable means that network for the node is not correctly configured.
|
||||||
NodeNetworkUnavailable NodeConditionType = "NetworkUnavailable"
|
NodeNetworkUnavailable NodeConditionType = "NetworkUnavailable"
|
||||||
// NodeInodePressure means the kubelet is under pressure due to insufficient available inodes.
|
|
||||||
NodeInodePressure NodeConditionType = "InodePressure"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// NodeCondition contains condition information for a node.
|
// NodeCondition contains condition information for a node.
|
||||||
|
Reference in New Issue
Block a user