4.6 KiB
4.6 KiB
Node v1
| Group | Version | Kind |
|---|---|---|
| Core | v1 | Node |
Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
| Field | Description |
|---|---|
| apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
| kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
| metadata ObjectMeta |
Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata |
| spec NodeSpec |
Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status |
| status NodeStatus |
Most recently observed status of the node. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status |
NodeSpec v1
| Field | Description |
|---|---|
| externalID string |
External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated. |
| podCIDR string |
PodCIDR represents the pod IP range assigned to the node. |
| providerID string |
ID of the node assigned by the cloud provider in the format: :// |
| unschedulable boolean |
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#manual-node-administration" |
NodeStatus v1
| Field | Description |
|---|---|
| addresses NodeAddress array |
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 |
| allocatable object |
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. |
| capacity object |
Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. |
| conditions NodeCondition array |
Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition |
| daemonEndpoints NodeDaemonEndpoints |
Endpoints of daemons running on the Node. |
| images ContainerImage array |
List of container images on this node |
| nodeInfo NodeSystemInfo |
Set of ids/uuids to uniquely identify the node. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-info |
| phase string |
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. |
| volumesAttached AttachedVolume array |
List of volumes that are attached to the node. |
| volumesInUse string array |
List of attachable volumes in use (mounted) by the node. |
NodeList v1
| Field | Description |
|---|---|
| apiVersion string |
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources |
| items Node array |
List of nodes |
| kind string |
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |
| metadata ListMeta |
Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds |