Ресурс google_container_regional_node_pools
Синтаксис
Для проверки ресурса Google RegionalNodePool используется google_container_regional_node_pools
Примеры
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- массив ограничений максимального количества Pod
google_container_regional_node_pool conditions- массив условий
google_container_regional_node_pool pod_ipv4_cidr_sizes- массив размеров CIDR для Pod IPv4
google_container_regional_node_pool clusters- массив кластеров
google_container_regional_node_pool locations- массив расположений
google_container_regional_node_pool
Критерии фильтрации
Этот ресурс поддерживает все вышеперечисленные свойства в качестве критериев фильтрации, которые могут быть использованы с 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_node_pools/