Syntax
A google_container_regional_node_pools
is used to test a Google RegionalNodePool resource
Examples
describe google_container_regional_node_pools(project: 'chef-gcp-inspec', location: 'europe-west2', cluster: 'inspec-gcp-regional-cluster') do
its('initial_node_counts') { should include '1'}
end
Properties
Properties that can be accessed from the google_container_regional_node_pools
resource:
See googlecontainerregionalnodepool.md for more detailed information
* names
: an array of google_container_regional_node_pool
name
* configs
: an array of google_container_regional_node_pool
config
* initial_node_counts
: an array of google_container_regional_node_pool
initialnodecount
* statuses
: an array of google_container_regional_node_pool
status
* status_messages
: an array of google_container_regional_node_pool
statusmessage
* versions
: an array of `googlecontainerregionalnodepoolversion
*
autoscalings: an array of
googlecontainerregionalnodepoolautoscaling
*
managements: an array of
googlecontainerregionalnodepoolmanagement
*
maxpodsconstraints: an array of
googlecontainerregionalnodepool` maxpodsconstraint
* conditions
: an array of `googlecontainerregionalnodepoolconditions
*
podipv4cidrsizes: an array of
googlecontainerregionalnodepoolpod_ipv4_cidr_size
*
clusters: an array of
googlecontainerregionalnodepoolcluster
*
locations: an array of
googlecontainerregionalnodepool` location
Filter Criteria
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
GCP Permissions
Ensure the Kubernetes Engine API is enabled for the current project.