-
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.
[#20301] yugabyted: yugabyted-ui support for k8s deployments
Summary: These changes to yugabyted-ui are needed to support single zone insecure/secure deployments using the yugabyte helm chart. The changes mostly involve the implementation of api endpoints that previously relied on the assumption that every node would have a tserver. In k8s deployments masters and tservers are in separate pods with different addresses. The changes make it so that yugabyted-ui will work properly for nodes that only have masters as well. The api interface of yugabyted-ui has not changed. A new flag, `bind_address`, was added to the yugabyted-ui API server. This flag determines the bind address for the API server. This change was added to allow the yugabyted-ui API server to bind to 0.0.0.0 as is standard for k8s deployments, but at the same time allow a different value to be set for `database_host`, which should be the address associated with the node. Jira: DB-9267 Test Plan: no test plan Reviewers: nikhil Reviewed By: nikhil Subscribers: yugabyted-dev, djiang Differential Revision: https://phorge.dev.yugabyte.com/D31042
- Loading branch information
Daniel Jiang
committed
Jan 23, 2024
1 parent
73167e5
commit b5ed6bb
Showing
38 changed files
with
491 additions
and
107 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
Oops, something went wrong.