title | platform |
---|---|
About the google_container_node_pools resource |
gcp |
A google_container_node_pools
is used to test a Google NodePool resource
This resource has beta fields available. To retrieve these fields, include beta: true
in the constructor for the resource
describe google_container_node_pools(project: 'chef-gcp-inspec', location: 'europe-west2-a', cluster_name: 'gcp-inspec-kube-cluster') do
its('initial_node_counts') { should include '1'}
end
Properties that can be accessed from the google_container_node_pools
resource:
See google_container_node_pool.md for more detailed information
node_pool_names
: an array ofgoogle_container_node_pool
nameconfigs
: an array ofgoogle_container_node_pool
configinitial_node_counts
: an array ofgoogle_container_node_pool
initial_node_countnode_pool_statuses
: an array ofgoogle_container_node_pool
statusstatus_messages
: an array ofgoogle_container_node_pool
status_messageversions
: an array ofgoogle_container_node_pool
versionautoscalings
: an array ofgoogle_container_node_pool
autoscalingmanagements
: an array ofgoogle_container_node_pool
managementmax_pods_constraints
: an array ofgoogle_container_node_pool
max_pods_constraintconditions
: an array ofgoogle_container_node_pool
conditionspod_ipv4_cidr_sizes
: an array ofgoogle_container_node_pool
pod_ipv4_cidr_sizeclusters
: an array ofgoogle_container_node_pool
clusterlocations
: an array ofgoogle_container_node_pool
location
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Kubernetes Engine API is enabled for the current project.