Browse Source

add cinder max attached volumes (#5089)

pull/5091/head
Hugo Blom 5 years ago
committed by Kubernetes Prow Robot
parent
commit
4dba34bd02
2 changed files with 8 additions and 0 deletions
  1. 5
      contrib/terraform/openstack/README.md
  2. 3
      roles/kubernetes/node/templates/cloud-configs/openstack-cloud-config.j2

5
contrib/terraform/openstack/README.md

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

3
roles/kubernetes/node/templates/cloud-configs/openstack-cloud-config.j2

@ -27,6 +27,9 @@ bs-version={{ openstack_blockstorage_version }}
{% if openstack_blockstorage_ignore_volume_az is defined and openstack_blockstorage_ignore_volume_az|bool %}
ignore-volume-az={{ openstack_blockstorage_ignore_volume_az }}
{% 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 %}
[LoadBalancer]

Loading…
Cancel
Save