turbot/alicloud

steampipe plugin install alicloudsteampipe plugin install alicloud

Table: alicloud_cs_kubernetes_cluster_node

A node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the Master. A node can have multiple pods, and the Kubernetes master automatically handles scheduling the pods across the nodes in the cluster.

Examples

Basic info

select
node_name,
cluster_id,
state,
creation_time,
instance_id
from
alicloud_cs_kubernetes_cluster_node;

List worker nodes

select
node_name,
instance_id,
instance_name,
instance_role
from
alicloud_cs_kubernetes_cluster_node
where
instance_role = 'Worker';

Count the number of nodes per instance

select
instance_id,
count(*) as node_count
from
alicloud_cs_kubernetes_cluster_node
group by
instance_id;

.inspect alicloud_cs_kubernetes_cluster_node

Alicloud Container Service Kubernetes Cluster Node

NameTypeDescription
account_idtextThe Alicloud Account ID in which the resource is located.
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
cluster_idtextThe ID of the cluster that the node pool belongs to.
creation_timetimestamp without time zoneThe time when the node was created.
error_messagetextThe error message generated when the node was created.
expired_timetimestamp without time zoneThe expiration time of the node.
host_nametextThe name of the host.
image_idtextThe ID of the system image that is used by the node.
instance_charge_typetextThe billing method of the node.
instance_idtextThe ID of the ECS instance.
instance_nametextThe name of the node. This name contains the ID of the cluster to which the node is deployed.
instance_roletextThe role of the node.
instance_statustextThe state of the node.
instance_typetextThe instance type of the node.
instance_type_familytextThe ECS instance family of the node.
ip_addresstextThe IP address of the node.
is_aliyun_nodebooleanIndicates whether the instance is provided by Alibaba Cloud.
node_nametextThe name of the node in the ACK cluster.
node_statustextIndicates whether the node is ready in the ACK cluster. Valid values: true, false.
nodepool_idtextThe ID of the node pool.
regiontextThe Alicloud region in which the resource is located.
sourcetextIndicates how the nodes in the node pool were initialized. The nodes can be manually created or created by using Resource Orchestration Service (ROS).
statetextThe states of the nodes in the node pool.
titletextTitle of the resource.