add cinder max attached volumes (#5089)

This commit is contained in:
Hugo Blom 2019-08-20 08:45:32 +02:00 committed by Kubernetes Prow Robot
parent b0437516c1
commit 4dba34bd02
2 changed files with 8 additions and 0 deletions

View file

@ -415,6 +415,11 @@ kube_network_plugin: flannel
# For Container Linux by CoreOS: # For Container Linux by CoreOS:
resolvconf_mode: host_resolvconf resolvconf_mode: host_resolvconf
``` ```
- Set max amount of attached cinder volume per host (default 256)
```
node_volume_attach_limit: 26
```
### Deploy Kubernetes ### Deploy Kubernetes

View file

@ -27,6 +27,9 @@ bs-version={{ openstack_blockstorage_version }}
{% if openstack_blockstorage_ignore_volume_az is defined and openstack_blockstorage_ignore_volume_az|bool %} {% if openstack_blockstorage_ignore_volume_az is defined and openstack_blockstorage_ignore_volume_az|bool %}
ignore-volume-az={{ openstack_blockstorage_ignore_volume_az }} ignore-volume-az={{ openstack_blockstorage_ignore_volume_az }}
{% endif %} {% endif %}
{% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
node-volume-attach-limit="{{ node_volume_attach_limit }}"
{% endif %}
{% if openstack_lbaas_enabled and openstack_lbaas_subnet_id is defined %} {% if openstack_lbaas_enabled and openstack_lbaas_subnet_id is defined %}
[LoadBalancer] [LoadBalancer]