Applicable for: | |
---|---|
Provider | AWS, GCP |
TAB - Section | INSTANCES - Master Configuration, Instance Group(s) » Advanced Options |
Check Automatic to let Kublr select availability zones for each master node (Auto mode). In auto mode Kublr will try to spread masters over different availability zones.
Or: un-check Automatic and select availability zone for each master node from the Master 1, Master 2, etc. list.
To specify availability zones for an Azure instance group:
spec:
...
nodes:
- name: group1
locations:
azure:
nodes:
- 1
- 3
To pin all instances to a single zone from the zone list:
spec:
...
nodes:
- name: group1:
locations:
azure:
nodes:
- 1
- 3
pinToZone: 'pin'
If no pinning is necessary set pinToZone to ‘span’ (pinToZone cannot be set to ‘span’ for the master group).
To use default behavior set pinToZone to ‘default’. Default behavior depends on the groupType and whether it is master or worker, stateful or stateless group, and whether zones are defined or not.
To different instance groupTypes the following rules are applied:
For groupType ‘VirtualMachineScaleSet’ stateless:
For groupType ‘VirtualMachineScaleSet’ stateful
For groupType ‘AvailabilitySet’ stateful (never stateless)
VirtualMachine stateful (never stateless)
AvailabilitySetLegacy stateful (never stateless)