mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Marked NodePhase deprecated.
This commit is contained in:
@@ -1301,6 +1301,7 @@ message NodeStatus {
|
||||
|
||||
// NodePhase is the recently observed lifecycle phase of the node.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase
|
||||
// The field is never populated, and now is deprecated.
|
||||
optional string phase = 3;
|
||||
|
||||
// Conditions is an array of current observed node conditions.
|
||||
|
||||
@@ -2376,6 +2376,7 @@ type NodeStatus struct {
|
||||
Allocatable ResourceList `json:"allocatable,omitempty" protobuf:"bytes,2,rep,name=allocatable,casttype=ResourceList,castkey=ResourceName"`
|
||||
// NodePhase is the recently observed lifecycle phase of the node.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase
|
||||
// The field is never populated, and now is deprecated.
|
||||
Phase NodePhase `json:"phase,omitempty" protobuf:"bytes,3,opt,name=phase,casttype=NodePhase"`
|
||||
// Conditions is an array of current observed node conditions.
|
||||
// More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition
|
||||
|
||||
@@ -893,7 +893,7 @@ var map_NodeStatus = map[string]string{
|
||||
"": "NodeStatus is information about the current status of a node.",
|
||||
"capacity": "Capacity represents the total resources of a node. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity for more details.",
|
||||
"allocatable": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.",
|
||||
"phase": "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase",
|
||||
"phase": "NodePhase is the recently observed lifecycle phase of the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-phase The field is never populated, and now is deprecated.",
|
||||
"conditions": "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition",
|
||||
"addresses": "List of addresses reachable to the node. Queried from cloud provider, if available. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-addresses",
|
||||
"daemonEndpoints": "Endpoints of daemons running on the Node.",
|
||||
|
||||
Reference in New Issue
Block a user