Availability Zones

Applicable for:
ProviderAWS, GCP
TAB - SectionINSTANCES - Master Configuration, Instance Group(s) » Advanced Options

Overview

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.

For Azure

To specify availability zones for an Azure instance group:

  • Click the ** CUSTOMIZE SPECIFICATION **
  • Add section zones:
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:

  1. For groupType ‘VirtualMachineScaleSet’ stateless:

    • zones specified - the VMSS has all of them
      • pinToZone = ‘pin’ - error, not supported
    • zones not specified - no zones in VMSS (warning for pinToZone = ‘span’ | ‘pin’)
  2. For groupType ‘VirtualMachineScaleSet’ stateful

    • zones specified
      • pinToZone = ‘span’ - each VMSS has all of them
    • pinToZone = ‘pin’ | ‘default’ - each VMSS has one zone
      • zones not specified - no zones in VMSS (warning for pinToZone = ‘span’ | ‘pin’)
  3. For groupType ‘AvailabilitySet’ stateful (never stateless)

    • zones specified - error, not supported
  4. VirtualMachine stateful (never stateless)

    • zones specified - each VM has one zone
      • pinToZone = ‘span’ - error, not supported
    • zones not specified - no zones in VMSS
      • pinToZone = ‘span’ | ‘pin’ - warning
  5. AvailabilitySetLegacy stateful (never stateless)

    • pinToZone SHOULD be ‘default’, zones SHOULD NOT be specified, warning otherwise

Participate in Scenarios

  • Information will be provided soon.

See Also

  • This documentation: search for “availability”, “zone” or alike to find more information about using the option.