Refactor redundancy_zone/upgrade_version out of client meta

This commit is contained in:
Kyle Havlovitz
2018-01-29 19:53:34 -08:00
parent ad8bfaea00
commit 2c873adba4
30 changed files with 350 additions and 299 deletions

View File

@@ -168,9 +168,9 @@ $ curl \
"LastContactThreshold": "200ms",
"MaxTrailingLogs": 250,
"ServerStabilizationTime": "10s",
"RedundancyZoneTag": "",
"EnableRedundancyZones": false,
"DisableUpgradeMigration": false,
"UpgradeVersionTag": "",
"EnableCustomUpgrades": false,
"CreateIndex": 4,
"ModifyIndex": 4
}
@@ -221,19 +221,16 @@ The table below shows this endpoint's support for
cluster. Only takes effect if all servers are running Raft protocol version 3
or higher. Must be a duration value such as `30s`.
- `RedundancyZoneTag` `(string: "")` - Controls the node-meta key to use when
Autopilot is separating servers into zones for redundancy. Only one server in
each zone can be a voting member at one time. If left blank, this feature will
be disabled.
- `EnableRedundancyZones` `(bool: false)` - (Enterprise-only) Specifies whether
to enable redundancy zones.
- `DisableUpgradeMigration` `(bool: false)` - Disables Autopilot's upgrade
migration strategy in Nomad Enterprise of waiting until enough
- `DisableUpgradeMigration` `(bool: false)` - (Enterprise-only) Disables Autopilot's
upgrade migration strategy in Nomad Enterprise of waiting until enough
newer-versioned servers have been added to the cluster before promoting any of
them to voters.
- `UpgradeVersionTag` `(string: "")` - Controls the node-meta key to use for
version info when performing upgrade migrations. If left blank, the Nomad
version will be used.
- `EnableCustomUpgrades` `(bool: false)` - (Enterprise-only) Specifies whether to
enable using custom upgrade versions when performing migrations.
### Sample Payload
@@ -243,9 +240,9 @@ The table below shows this endpoint's support for
"LastContactThreshold": "200ms",
"MaxTrailingLogs": 250,
"ServerStabilizationTime": "10s",
"RedundancyZoneTag": "",
"EnableRedundancyZones": false,
"DisableUpgradeMigration": false,
"UpgradeVersionTag": "",
"EnableCustomUpgrades": false,
"CreateIndex": 4,
"ModifyIndex": 4
}