Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0c1a0ab9
Unverified
Commit
0c1a0ab9
authored
5 years ago
by
Hugo Blom
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
implement max-volumes for cinder csi (#5666)
parent
678ed5ce
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-cloud-config.j2
+3
-0
3 additions, 0 deletions
...ps/csi_driver/cinder/templates/cinder-csi-cloud-config.j2
roles/kubespray-defaults/defaults/main.yaml
+2
-1
2 additions, 1 deletion
roles/kubespray-defaults/defaults/main.yaml
with
5 additions
and
1 deletion
roles/kubernetes-apps/csi_driver/cinder/templates/cinder-csi-cloud-config.j2
+
3
−
0
View file @
0c1a0ab9
...
...
@@ -22,3 +22,6 @@ ca-file="{{ kube_config_dir }}/cinder-cacert.pem"
{% if cinder_blockstorage_version is defined %}
bs-version={{ cinder_blockstorage_version }}
{% endif %}
{% if node_volume_attach_limit is defined and node_volume_attach_limit != "" %}
node-volume-attach-limit="{{ node_volume_attach_limit }}"
{% endif %}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
roles/kubespray-defaults/defaults/main.yaml
+
2
−
1
View file @
0c1a0ab9
...
...
@@ -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)
# openstack_blockstorage_version: "v1/v2/auto (default)"
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_topology: false
# Set Cinder topology zones (can be multiple zones, default not set)
# cinder_topology_zones:
# - nova
## When OpenStack is used, if LBaaSv2 is available you can enable it with the following 2 variables.
openstack_lbaas_enabled
:
false
# openstack_lbaas_subnet_id: "Neutron subnet ID (not network ID) to create LBaaS VIP"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment