You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add optional availabilityZone.from:Machine to disks. (#263)
* Add optional availabilityZone.from:Machine to disks.
Previously capo defaulted to creating disks in the failureDomain
(availability zone) of the virtual machine that is created. In some
clouds this is a requirement for good performance or to be able to
attach the disk at all.
Other clouds have a global AZ for disks, so we need a pararmeter
to control this.
So we introduce three new boolean variables, all defaulting to false:
controlPlaneRootDiskPin
workerRootDiskPin
workerAdditionalBlockDevicesPin
which control whether we set
availabilityZone/from: Machine for the respective disks.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
* Use one setting diskPinAZ to control all volumes.
This was suggested by @Nils98Ar.
There are few imaginable reasons why one would want to pin volumes into
the AZs of the VMs they are attached to for some types but not for
others. So have one setting, controlling all of controlPlaneNodes root
disks, workerMachines root disks and worker additionalBlockDevices.
Also add a bit of documentation.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
---------
Signed-off-by: Kurt Garloff <kurt@garloff.de>
Copy file name to clipboardExpand all lines: docs/providers/openstack/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,5 +80,6 @@ topology:
80
80
| `oidc_config.username_prefix` | string | oidc: | oidc: | Prefix prepended to username claims to prevent cla shes with existing names (such as system: users). For example, the value oid c: will create usernames like oidc:jane.doe. If this flag isn't provided and --o idc-username-claim is a value other than email the prefix defaults to ( Iss uer URL )# where ( Issuer URL ) is the value of --oidc-issuer-url. The value - c an be used to disable all prefixing. | |
81
81
| `oidc_config.groups_prefix` | string | oidc: | oidc: | Prefix prepended to group claims to prevent clashes wit h existing names (such as system: groups). For example, the value oidc: will cre ate group names like oidc:engineering and oidc:infra. | |
82
82
| `network_mtu` | integer | | 1500 | NetworkMTU sets the maximum transmission unit (MTU) value to address fragmentation for the private network ID. | False |
83
+
| `diskPinAZ` | boolean | | False | This tells capo to create volumes in the same AZ as the VM that they are attached to. This affects cinder volumes used as controlPlane and worker machine root disks as well as additionalBlockDevices. Only works for clouds where volume AZs are matched with compute AZs. There it might be a performance optimization or a requirement.
83
84
| `controlPlaneAvailabilityZones` | array | | ['nova'] | ControlPlaneAvailabilityZones is the set of availability zones which control plane machines may be deployed to. | False |
84
85
| `controlPlaneOmitAvailabilityZone` | boolean | | True | ControlPlaneOmitAvailabilityZone causes availability zone to be omitted when creating control plane nodes, allowing the Nova scheduler to make a decision on which availability zone to use based on other scheduling constraints. | False |
0 commit comments