alicloud_accountalicloud_action_trailalicloud_cas_certificatealicloud_cms_monitor_hostalicloud_cs_kubernetes_clusteralicloud_cs_kubernetes_cluster_nodealicloud_ecs_auto_provisioning_groupalicloud_ecs_autoscaling_groupalicloud_ecs_diskalicloud_ecs_disk_metric_read_iopsalicloud_ecs_disk_metric_read_iops_dailyalicloud_ecs_disk_metric_read_iops_hourlyalicloud_ecs_disk_metric_write_iopsalicloud_ecs_disk_metric_write_iops_dailyalicloud_ecs_disk_metric_write_iops_hourlyalicloud_ecs_imagealicloud_ecs_instancealicloud_ecs_instance_metric_cpu_utilization_dailyalicloud_ecs_instance_metric_cpu_utilization_hourlyalicloud_ecs_key_pairalicloud_ecs_launch_templatealicloud_ecs_network_interfacealicloud_ecs_regionalicloud_ecs_security_groupalicloud_ecs_snapshotalicloud_ecs_zonealicloud_kms_keyalicloud_kms_secretalicloud_oss_bucketalicloud_ram_access_keyalicloud_ram_credential_reportalicloud_ram_groupalicloud_ram_password_policyalicloud_ram_policyalicloud_ram_rolealicloud_ram_security_preferencealicloud_ram_useralicloud_rds_backupalicloud_rds_databasealicloud_rds_instancealicloud_rds_instance_metric_connectionsalicloud_rds_instance_metric_connections_dailyalicloud_rds_instance_metric_cpu_utilizationalicloud_rds_instance_metric_cpu_utilization_dailyalicloud_rds_instance_metric_cpu_utilization_hourlyalicloud_security_center_field_statisticsalicloud_security_center_versionalicloud_slb_load_balanceralicloud_vpcalicloud_vpc_dhcp_options_setalicloud_vpc_eipalicloud_vpc_flow_logalicloud_vpc_nat_gatewayalicloud_vpc_network_aclalicloud_vpc_route_entryalicloud_vpc_route_tablealicloud_vpc_ssl_vpn_client_certalicloud_vpc_ssl_vpn_serveralicloud_vpc_vpn_connectionalicloud_vpc_vpn_customer_gatewayalicloud_vpc_vpn_gatewayalicloud_vpc_vswitch
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_idfrom alicloud_cs_kubernetes_cluster_node;
List worker nodes
select node_name, instance_id, instance_name, instance_rolefrom alicloud_cs_kubernetes_cluster_nodewhere instance_role = 'Worker';
Count the number of nodes per instance
select instance_id, count(*) as node_countfrom alicloud_cs_kubernetes_cluster_nodegroup by instance_id;
.inspect alicloud_cs_kubernetes_cluster_node
Alicloud Container Service Kubernetes Cluster Node
Name | Type | Description |
---|---|---|
_ctx | jsonb | Steampipe context in JSON form, e.g. connection_name. |
account_id | text | The Alicloud Account ID in which the resource is located. |
akas | jsonb | Array of globally unique identifier strings (also known as) for the resource. |
cluster_id | text | The ID of the cluster that the node pool belongs to. |
creation_time | timestamp with time zone | The time when the node was created. |
error_message | text | The error message generated when the node was created. |
expired_time | timestamp with time zone | The expiration time of the node. |
host_name | text | The name of the host. |
image_id | text | The ID of the system image that is used by the node. |
instance_charge_type | text | The billing method of the node. |
instance_id | text | The ID of the ECS instance. |
instance_name | text | The name of the node. This name contains the ID of the cluster to which the node is deployed. |
instance_role | text | The role of the node. |
instance_status | text | The state of the node. |
instance_type | text | The instance type of the node. |
instance_type_family | text | The ECS instance family of the node. |
ip_address | text | The IP address of the node. |
is_aliyun_node | boolean | Indicates whether the instance is provided by Alibaba Cloud. |
node_name | text | The name of the node in the ACK cluster. |
node_status | text | Indicates whether the node is ready in the ACK cluster. Valid values: true, false. |
nodepool_id | text | The ID of the node pool. |
region | text | The Alicloud region in which the resource is located. |
source | text | Indicates how the nodes in the node pool were initialized. The nodes can be manually created or created by using Resource Orchestration Service (ROS). |
state | text | The states of the nodes in the node pool. |
title | text | Title of the resource. |