Ресурс google_container_regional_clusters
Синтаксис
Для проверки ресурса Google RegionalCluster используется google_container_regional_clusters
Примеры
describe google_container_regional_clusters(project: 'chef-gcp-inspec', location: 'europe-west2') do
its('count') { should be >= 1 }
its('names') { should include 'inspec-gcp-regional-cluster' }
its('initial_node_counts') { should include '1'}
end
Свойства
Свойства, доступные для ресурса google_container_regional_clusters:
Для получения дополнительной информации см. ресурс google_container_regional_cluster.
names- массив
google_container_regional_clusterимён descriptions- массив
google_container_regional_clusterописаний initial_node_counts- массив
google_container_regional_clusterinitial_node_count node_configs- массив
google_container_regional_clusternode_config master_auths- массив
google_container_regional_clustermaster_auth logging_services- массив
google_container_regional_clusterlogging_service monitoring_services- массив
google_container_regional_clustermonitoring_service networks- массив
google_container_regional_clusternetwork private_cluster_configs- массив
google_container_regional_clusterprivate_cluster_config cluster_ipv4_cidrs- массив
google_container_regional_clustercluster_ipv4_cidr enable_tpus- массив
google_container_regional_clusterenable_tpu tpu_ipv4_cidr_blocks- массив
google_container_regional_clustertpu_ipv4_cidr_block addons_configs- массив
google_container_regional_clusteraddons_config subnetworks- массив
google_container_regional_clustersubnetwork locations- массив
google_container_regional_clusterlocations resource_labels- массив
google_container_regional_clusterresource_labels label_fingerprints- массив
google_container_regional_clusterlabel_fingerprint legacy_abacs- массив
google_container_regional_clusterlegacy_abac network_policies- массив
google_container_regional_clusternetwork_policy default_max_pods_constraints- массив
google_container_regional_clusterdefault_max_pods_constraint ip_allocation_policies- массив
google_container_regional_clusterip_allocation_policy endpoints- массив
google_container_regional_clusterendpoint initial_cluster_versions- массив
google_container_regional_clusterinitial_cluster_version current_master_versions- массив
google_container_regional_clustercurrent_master_version current_node_versions- массив
google_container_regional_clustercurrent_node_version create_times- массив
google_container_regional_clustercreate_time statuses- массив
google_container_regional_clusterstatus status_messages- массив
google_container_regional_clusterstatus_message node_ipv4_cidr_sizes- массив
google_container_regional_clusternode_ipv4_cidr_size services_ipv4_cidrs- массив
google_container_regional_clusterservices_ipv4_cidr current_node_counts- массив
google_container_regional_clustercurrent_node_count expire_times- массив
google_container_regional_clusterexpire_time conditions- массив
google_container_regional_clusterconditions master_authorized_networks_configs- массив
google_container_regional_clustermaster_authorized_networks_config locations- массив
google_container_regional_clusterlocation
Критерии фильтрации
Этот ресурс поддерживает все вышеперечисленные свойства как критерии фильтрации, которые могут быть использованы с where как блоком или методом.
Разрешения GCP
Убедитесь, что для текущего проекта включен API Kubernetes Engine.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/inspec/resources/google_container_regional_clusters/