Spec-Zone.ru › Chef 18

Ресурс google_container_regional_clusters

[Редактировать на GitHub]

Синтаксис

Для проверки ресурса 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_cluster initial_node_count
node_configs
массив google_container_regional_cluster node_config
master_auths
массив google_container_regional_cluster master_auth
logging_services
массив google_container_regional_cluster logging_service
monitoring_services
массив google_container_regional_cluster monitoring_service
networks
массив google_container_regional_cluster network
private_cluster_configs
массив google_container_regional_cluster private_cluster_config
cluster_ipv4_cidrs
массив google_container_regional_cluster cluster_ipv4_cidr
enable_tpus
массив google_container_regional_cluster enable_tpu
tpu_ipv4_cidr_blocks
массив google_container_regional_cluster tpu_ipv4_cidr_block
addons_configs
массив google_container_regional_cluster addons_config
subnetworks
массив google_container_regional_cluster subnetwork
locations
массив google_container_regional_cluster locations
resource_labels
массив google_container_regional_cluster resource_labels
label_fingerprints
массив google_container_regional_cluster label_fingerprint
legacy_abacs
массив google_container_regional_cluster legacy_abac
network_policies
массив google_container_regional_cluster network_policy
default_max_pods_constraints
массив google_container_regional_cluster default_max_pods_constraint
ip_allocation_policies
массив google_container_regional_cluster ip_allocation_policy
endpoints
массив google_container_regional_cluster endpoint
initial_cluster_versions
массив google_container_regional_cluster initial_cluster_version
current_master_versions
массив google_container_regional_cluster current_master_version
current_node_versions
массив google_container_regional_cluster current_node_version
create_times
массив google_container_regional_cluster create_time
statuses
массив google_container_regional_cluster status
status_messages
массив google_container_regional_cluster status_message
node_ipv4_cidr_sizes
массив google_container_regional_cluster node_ipv4_cidr_size
services_ipv4_cidrs
массив google_container_regional_cluster services_ipv4_cidr
current_node_counts
массив google_container_regional_cluster current_node_count
expire_times
массив google_container_regional_cluster expire_time
conditions
массив google_container_regional_cluster conditions
master_authorized_networks_configs
массив google_container_regional_cluster master_authorized_networks_config
locations
массив google_container_regional_cluster location

Критерии фильтрации

Этот ресурс поддерживает все вышеперечисленные свойства как критерии фильтрации, которые могут быть использованы с 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/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API