Node [page]deterministic
Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
`apiVersion: v1`
`import "k8s.io/api/core/v1"`
## Node {#Node}
Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>apiVersion</code><br/><em>string</em></td> <td>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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources</td> </tr> <tr> <td><code>kind</code><br/><em>string</em></td> <td>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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds</td> </tr> <tr> <td><code>metadata</code><br/><em><a href="">ObjectMeta</a></em></td> <td>Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata</td> </tr> <tr> <td><code>spec</code><br/><em><a href="">NodeSpec</a></em></td> <td>Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> <tr> <td><code>status</code><br/><em><a href="">NodeStatus</a></em></td> <td>Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status</td> </tr> </tbody> </table>
## NodeSpec {#NodeSpec}
NodeSpec describes the attributes that a node is created with.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>configSource</code><br/><em><a href="">NodeConfigSource</a></em></td> <td>Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed.</td> </tr> <tr> <td><code>externalID</code><br/><em>string</em></td> <td>Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966</td> </tr> <tr> <td><code>podCIDR</code><br/><em>string</em></td> <td>PodCIDR represents the pod IP range assigned to the node.</td> </tr> <tr> <td><code>podCIDRs</code><br/><em>string array</em><br/><em>patch strategy: merge</em></td> <td>podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.</td> </tr> <tr> <td><code>providerID</code><br/><em>string</em></td> <td>ID of the node assigned by the cloud provider in the format: \<ProviderName>://\<ProviderSpecificNodeID></td> </tr> <tr> <td><code>taints</code><br/><em><a href="">Taint array</a></em></td> <td>If specified, the node's taints.</td> </tr> <tr> <td><code>unschedulable</code><br/><em>boolean</em></td> <td>Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration</td> </tr> </tbody> </table>
## NodeStatus {#NodeStatus}
NodeStatus is information about the current status of a node.
<hr>
<table> <thead><tr><th>Field</th><th>Description</th></tr></thead> <tbody> <tr> <td><code>addresses</code><br/><em><a href="">NodeAddress array</a></em><br/><em>patch strategy: merge on key <code>type</code></em></td> <td>List of addresses reachable to the node. Queried from cloud provider …(trimmed)