implement max-volumes for cinder csi (#5666)
This commit is contained in:
parent
678ed5ced5
commit
0c1a0ab966
2 changed files with 5 additions and 1 deletions
|
@ -22,3 +22,6 @@ ca-file="{{ kube_config_dir }}/cinder-cacert.pem"
|
||||||
{% if cinder_blockstorage_version is defined %}
|
{% if cinder_blockstorage_version is defined %}
|
||||||
bs-version={{ cinder_blockstorage_version }}
|
bs-version={{ cinder_blockstorage_version }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
|
||||||
|
node-volume-attach-limit="{{ node_volume_attach_limit }}"
|
||||||
|
{% endif %}
|
|
@ -308,13 +308,14 @@ expand_persistent_volumes: false
|
||||||
## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
|
## When OpenStack is used, Cinder version can be explicitly specified if autodetection fails (Fixed in 1.9: https://github.com/kubernetes/kubernetes/issues/50461)
|
||||||
# openstack_blockstorage_version: "v1/v2/auto (default)"
|
# openstack_blockstorage_version: "v1/v2/auto (default)"
|
||||||
openstack_blockstorage_ignore_volume_az: "{{ volume_cross_zone_attachment | default('false') }}"
|
openstack_blockstorage_ignore_volume_az: "{{ volume_cross_zone_attachment | default('false') }}"
|
||||||
|
# set max volumes per node (cinder-csi), default not set
|
||||||
|
# node_volume_attach_limit: 25
|
||||||
# Cinder CSI topology, when false volumes can be cross-mounted between availability zones
|
# Cinder CSI topology, when false volumes can be cross-mounted between availability zones
|
||||||
# cinder_topology: false
|
# cinder_topology: false
|
||||||
# Set Cinder topology zones (can be multiple zones, default not set)
|
# Set Cinder topology zones (can be multiple zones, default not set)
|
||||||
# cinder_topology_zones:
|
# cinder_topology_zones:
|
||||||
# - nova
|
# - nova
|
||||||
|
|
||||||
|
|
||||||
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
|
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
|
||||||
openstack_lbaas_enabled: false
|
openstack_lbaas_enabled: false
|
||||||
# openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
|
# openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
|
||||||
|
|
Loading…
Reference in a new issue