-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiregion Deployments (OSS integration) #8184
Merged
Merged
Commits on Jun 17, 2020
-
Initial struct definitions, jobspec parsing, validation, and conversion between Nomad structs and API structs for multi-region deployments.
Configuration menu - View commit details
-
Copy full SHA for f64f5a6 - Browse repository at this point
Copy the full SHA f64f5a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 905755a - Browse repository at this point
Copy the full SHA 905755aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fdfd9f5 - Browse repository at this point
Copy the full SHA fdfd9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce8f230 - Browse repository at this point
Copy the full SHA ce8f230View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0974fe - Browse repository at this point
Copy the full SHA c0974feView commit details -
Configuration menu - View commit details
-
Copy full SHA for e620ff7 - Browse repository at this point
Copy the full SHA e620ff7View commit details -
Integration points for multiregion jobs to be registered in the enterprise version of Nomad: * hook in `Job.Register` for enterprise to send job to peer regions * remove monitoring from `nomad job run` and `nomad job stop` for multiregion jobs
Configuration menu - View commit details
-
Copy full SHA for 02209b1 - Browse repository at this point
Copy the full SHA 02209b1View commit details -
multiregion: deploymentwatcher hooks
This changeset establishes hooks in deploymentwatcher for multiregion deployments (for the enterprise version of Nomad).
Configuration menu - View commit details
-
Copy full SHA for 7f9f3fe - Browse repository at this point
Copy the full SHA 7f9f3feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d2e61d - Browse repository at this point
Copy the full SHA 4d2e61dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45c2e87 - Browse repository at this point
Copy the full SHA 45c2e87View commit details -
multiregion: integrate with deploymentwatcher
* `nextRegion` should take status parameter * thread Deployment/Job RPCs thru `nextRegion` * add `nextRegion` calls to `deploymentwatcher` * use a better description for paused for peer
Configuration menu - View commit details
-
Copy full SHA for dccea99 - Browse repository at this point
Copy the full SHA dccea99View commit details -
multiregion: use pending instead of paused
The `paused` state is used as an operator safety mechanism, so that they can debug a deployment or halt one that's causing a wider failure. By using the `paused` state as the first state of a multiregion deployment, we risked resuming an intentionally operator-paused deployment because of activity in a peer region. This changeset replaces the use of the `paused` state with a `pending` state, and provides a `Deployment.Run` internal RPC to replace the use of the `Deployment.Pause` (resume) RPC we were using in `deploymentwatcher`.
Configuration menu - View commit details
-
Copy full SHA for abd3a2b - Browse repository at this point
Copy the full SHA abd3a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 968713b - Browse repository at this point
Copy the full SHA 968713bView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.