Skip to main content

nodes

Creates, updates, deletes, gets or lists a nodes resource.

Overview

Namenodes
TypeResource
Idlinode.lke.nodes

Fields

The following fields are returned by SELECT queries:

Returns the values of a node object in the form that it appears currently in the node pool array.

NameDatatypeDescription
idstringThe Node's ID. (example: 12345-6aa78910bc)
instance_idintegerThe Linode's ID. When no Linode is currently provisioned for this Node, this will be null.
statusstringThe creation status of this Node. This status is distinct from this Node's readiness as a Kubernetes Node Object as determined by the command kubectl get nodes. not_ready indicates that the Linode is still being created. ready indicates that the Linode has successfully been created and is running Kubernetes software. (example: ready)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_lke_cluster_nodeselectReturns the values for a specified node object.

Learn more...

Learn more...
delete_lke_cluster_nodedeleteDeletes a specific Node from a Node Pool.

Deleting a Node is a destructive action and cannot be undone.

Deleting a Node will reduce the size of the Node Pool it belongs to.

Learn more...

Learn more...
post_lke_cluster_node_recycleexecRecycles an individual Node in the designated Kubernetes Cluster. The Node will be deleted and replaced with a new Linode, which may take a few minutes. Replacement Nodes are installed with the latest available patch for the Cluster's Kubernetes Version.

Any local storage on deleted Linodes (such as hostPath and emptyDir volumes, or local PersistentVolumes) will be erased.

Learn more...

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns the values for a specified node object.

Learn more...

Learn more...

SELECT
id,
instance_id,
status
FROM linode.lke.nodes;

DELETE examples

Deletes a specific Node from a Node Pool.

Deleting a Node is a destructive action and cannot be undone.

Deleting a Node will reduce the size of the Node Pool it belongs to.

Learn more...

Learn more...

DELETE FROM linode.lke.nodes;

Lifecycle Methods

Recycles an individual Node in the designated Kubernetes Cluster. The Node will be deleted and replaced with a new Linode, which may take a few minutes. Replacement Nodes are installed with the latest available patch for the Cluster's Kubernetes Version.

Any local storage on deleted Linodes (such as hostPath and emptyDir volumes, or local PersistentVolumes) will be erased.

Learn more...

Learn more...

EXEC linode.lke.nodes.post_lke_cluster_node_recycle 
;