Merge pull request #16178 from madhusudancs/kubelet-out-of-disk-no-master

Report node out of disk condition in the kubelet.
This commit is contained in:
Daniel Smith
2015-10-27 14:28:03 -07:00
5 changed files with 178 additions and 24 deletions

View File

@@ -1491,6 +1491,9 @@ type NodeConditionType string
const (
// NodeReady means kubelet is healthy and ready to accept pods.
NodeReady NodeConditionType = "Ready"
// NodeOutOfDisk means the kubelet will not accept new pods due to insufficient free disk
// space on the node.
NodeOutOfDisk NodeConditionType = "OutOfDisk"
)
type NodeCondition struct {

View File

@@ -1868,6 +1868,9 @@ type NodeConditionType string
const (
// NodeReady means kubelet is healthy and ready to accept pods.
NodeReady NodeConditionType = "Ready"
// NodeOutOfDisk means the kubelet will not accept new pods due to insufficient free disk
// space on the node.
NodeOutOfDisk NodeConditionType = "OutOfDisk"
)
// NodeCondition contains condition infromation for a node.