@@ -2636,7 +2636,7 @@ const (
2636
2636
// PodConditionType is a valid value for PodCondition.Type
2637
2637
type PodConditionType string
2638
2638
2639
- // These are valid conditions of pod.
2639
+ // These are built-in conditions of pod. An application may use a custom condition not listed here .
2640
2640
const (
2641
2641
// ContainersReady indicates whether all containers in the pod are ready.
2642
2642
ContainersReady PodConditionType = "ContainersReady"
@@ -5055,8 +5055,8 @@ const (
5055
5055
5056
5056
type NodeConditionType string
5057
5057
5058
- // These are valid conditions of node. Currently, we don't have enough information to decide
5059
- // node condition. In the future, we will add more. The proposed set of conditions are:
5058
+ // These are valid but not exhaustive conditions of node. A cloud provider may set a condition not listed here.
5059
+ // The built-in set of conditions are:
5060
5060
// NodeReachable, NodeLive, NodeReady, NodeSchedulable, NodeRunnable.
5061
5061
const (
5062
5062
// NodeReady means kubelet is healthy and ready to accept pods.
@@ -5093,7 +5093,7 @@ type NodeCondition struct {
5093
5093
5094
5094
type NodeAddressType string
5095
5095
5096
- // These are valid address type of node.
5096
+ // These are built-in addresses type of node. A cloud provider may set a type not listed here .
5097
5097
const (
5098
5098
// NodeHostName identifies a name of the node. Although every node can be assumed
5099
5099
// to have a NodeAddress of this type, its exact syntax and semantics are not
@@ -5265,7 +5265,7 @@ const (
5265
5265
5266
5266
type NamespaceConditionType string
5267
5267
5268
- // These are valid conditions of a namespace.
5268
+ // These are built-in conditions of a namespace.
5269
5269
const (
5270
5270
// NamespaceDeletionDiscoveryFailure contains information about namespace deleter errors during resource discovery.
5271
5271
NamespaceDeletionDiscoveryFailure NamespaceConditionType = "NamespaceDeletionDiscoveryFailure"
@@ -5753,7 +5753,8 @@ type EventList struct {
5753
5753
// List holds a list of objects, which may not be known by the server.
5754
5754
type List metav1.List
5755
5755
5756
- // LimitType is a type of object that is limited
5756
+ // LimitType is a type of object that is limited. It can be Pod, Container, PersistentVolumeClaim or
5757
+ // a fully qualified resource name.
5757
5758
type LimitType string
5758
5759
5759
5760
const (
0 commit comments