Spec-Zone.ru › Chef 17

Ресурс google_container_regional_node_pools

[править на GitHub]

Синтаксис

Используется google_container_regional_node_pools для проверки ресурса Google RegionalNodePool.

Примеры

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

Свойства

Свойства, к которым можно получить доступ из ресурса google_container_regional_node_pools:

Для получения дополнительной информации см. ресурс google_container_regional_node_pool.

names
массив имён google_container_regional_node_pool
configs
массив конфигураций google_container_regional_node_pool
initial_node_counts
массив начального количества узлов google_container_regional_node_pool
statuses
массив статусов google_container_regional_node_pool
status_messages
массив сообщений о статусе google_container_regional_node_pool
versions
массив версий google_container_regional_node_pool
autoscalings
массив параметров автоматического масштабирования google_container_regional_node_pool
managements
массив параметров управления google_container_regional_node_pool
max_pods_constraints
массив ограничений максимального количества под-контейнеров google_container_regional_node_pool
conditions
массив условий google_container_regional_node_pool
pod_ipv4_cidr_sizes
массив размеров CIDR под-контейнеров google_container_regional_node_pool
clusters
массив кластеров google_container_regional_node_pool
locations
массив местоположений google_container_regional_node_pool

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

Этот ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые могут быть использованы с where в виде блока или метода.

Разрешения GCP

Убедитесь, что API Kubernetes Engine Kubernetes Engine API включен для текущего проекта.

© 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_node_pools/

Spec-Zone.ru

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