-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-13057] Universe Spec and Info structure refactor as a follow up…
… to D33904 Summary: Continue addressing comments from D33904. https://phorge.dev.yugabyte.com/D33904#1068025 has a few good comments from Sanketh. Addressing them here as a follow-on change. 1. Introduced a universe level UniverseNetworkingSpec and moved `assign_public_ip`, `assign_static_public_ip`, `enable_ipv6` and the `communication_ports` from cluster level to universe level. 1. `CloudProviderSpec` of a cluster was a mix of provider and placement settings. Separated these into `ClusterProviderSpec` and `ClusterPlacementSpec`. 1. `ClusterPlacementSpec` was present as a read-only under UniverseInfo. But this should be editable by user. Added `ClusterPlacementSpec` to ClusterSpec that can optionally be specified by user when creating/editing the cluster. 1. Moved specifying the ybdb software version from cluster level to universe level. The same DB version will be maintained across all clusters of a universe. 1. Moved `use_time_sync` and `use_systemd` from cluster level to universe level. 1. Improved docs in ClusterStorageSpec 1. Defined default ports in CommunicationPortsSpec 1. Removed the `op_type` and instead kept the `encryptionAtRestEnabled` to identify the current encryption state of the Universe. 1. Removed all ports from NodeDetails as these are needed only for internal implementation. The user configures it only at the Universe level Test Plan: unit test Reviewers: sanketh, dshubin, amalyshev, skurapati, svarshney, #yba-api-review! Reviewed By: amalyshev, skurapati, svarshney Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D34466
- Loading branch information
1 parent
ae7f9ed
commit ec5e69d
Showing
23 changed files
with
572 additions
and
230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.