You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/docs/api/v1.Node.adoc
+31-12Lines changed: 31 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -91,17 +91,13 @@ Populated by the system. Read-only. Value must be treated as opaque by clients a
91
91
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids">uid</span>:
92
92
</div></details><details open><summary><span title="(v1.NodeSpec) Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status">spec</span>:
93
93
</summary><details><summary> <span title="(v1.NodeConfigSource) If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field">configSource</span>:
94
-
</summary><div style="margin-left:13px;"> <span title="(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: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources">apiVersion</span>:
</summary><div style="margin-left:13px;"> <span title="(string) API version of the referent.">apiVersion</span>:
97
-
</div><div style="margin-left:13px;"> <span title="(string) If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.">fieldPath</span>:
98
-
</div><div style="margin-left:13px;"> <span title="(string) Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">kind</span>:
99
-
</div><div style="margin-left:13px;"> <span title="(string) Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names">name</span>:
100
-
</div><div style="margin-left:13px;"> <span title="(string) Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/">namespace</span>:
101
-
</div><div style="margin-left:13px;"> <span title="(string) Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency">resourceVersion</span>:
102
-
</div><div style="margin-left:13px;"> <span title="(string) UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids">uid</span>:
103
-
</div></details><div style="margin-left:13px;"> <span title="(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: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">kind</span>:
104
-
</div></details><div style="margin-left:13px;"> <span title="(string) External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.">externalID</span>:
94
+
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node's ConfigMap">configMap</span>:
95
+
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
96
+
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
97
+
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
98
+
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
99
+
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
100
+
</div></details></details><div style="margin-left:13px;"> <span title="(string) Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966">externalID</span>:
105
101
</div><div style="margin-left:13px;"> <span title="(string) PodCIDR represents the pod IP range assigned to the node.">podCIDR</span>:
106
102
</div><div style="margin-left:13px;"> <span title="(string) ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID>">providerID</span>:
107
103
</div><details><summary> <span title="(array) If specified, the node's taints.">taints</span>:
@@ -125,7 +121,30 @@ Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-gu
125
121
</div><div style="margin-left:13px;"> <span title="(string) (brief) reason for the condition's last transition.">reason</span>:
126
122
</div><div style="margin-left:13px;"> <span title="(string) Status of the condition, one of True, False, Unknown.">status</span>:
127
123
</div><div style="margin-left:13px;"> <span title="(string) Type of node condition.">type</span>:
128
-
</div></details><details><summary> <span title="(v1.NodeDaemonEndpoints) Endpoints of daemons running on the Node.">daemonEndpoints</span>:
124
+
</div></details><details><summary> <span title="(v1.NodeConfigStatus) Status of the config assigned to the node via the dynamic Kubelet config feature.">config</span>:
125
+
</summary><details><summary> <span title="(v1.NodeConfigSource) Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.">active</span>:
126
+
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node's ConfigMap">configMap</span>:
127
+
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
128
+
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
129
+
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
130
+
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
131
+
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
132
+
</div></details></details><details><summary> <span title="(v1.NodeConfigSource) Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.">assigned</span>:
133
+
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node's ConfigMap">configMap</span>:
134
+
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
135
+
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
136
+
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
137
+
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
138
+
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
139
+
</div></details></details><div style="margin-left:13px;"> <span title="(string) Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.">error</span>:
140
+
</div><details><summary> <span title="(v1.NodeConfigSource) LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node's method of determining config stability and correctness, as this may change or become configurable in the future.">lastKnownGood</span>:
141
+
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node's ConfigMap">configMap</span>:
142
+
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
143
+
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
144
+
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
145
+
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
146
+
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
147
+
</div></details></details></details><details><summary> <span title="(v1.NodeDaemonEndpoints) Endpoints of daemons running on the Node.">daemonEndpoints</span>:
129
148
</summary><details><summary> <span title="(v1.DaemonEndpoint) Endpoint on which Kubelet is listening.">kubeletEndpoint</span>:
130
149
</summary><div style="margin-left:13px;"> <span title="(integer) Port number of the given endpoint.">Port</span>:
131
150
</div></details></details><details><summary> <span title="(array) List of container images on this node">images</span>:
0 commit comments