Skip to content

[#20344] yugabyted: yugabyted UI support for K8s helm chart#180

Open
djiang9001 wants to merge 1 commit intoyugabyte:masterfrom
djiang9001:yugabyted-ui
Open

[#20344] yugabyted: yugabyted UI support for K8s helm chart#180
djiang9001 wants to merge 1 commit intoyugabyte:masterfrom
djiang9001:yugabyted-ui

Conversation

@djiang9001
Copy link
Contributor

Changes to the yugabyte helm chart to support yugabyted-ui:

  • Enables yugabyted-ui by default on port 15433 for each tserver and master.
  • Metrics snapshotter enabled by default since yugabyted-ui uses it to display metrics.
  • Works with and without tls enabled (tls.enabled=true flag)
  • Can be disabled with yugabytedUi.enabled=false flag)

Sample command:

helm install yb-demo /home/centos/code/charts-fork/stable/yugabyte \
--set resource.master.requests.cpu=0.5,resource.master.requests.memory=0.5Gi,\
resource.tserver.requests.cpu=0.5,resource.tserver.requests.memory=0.5Gi,\
replicas.master=3,replicas.tserver=3,tls.enabled=true --namespace yb-demo

NOTE: Do not merge until tag in stable/yugabyte/values.yaml has been updated to the correct value, as well as version and appVersion in stable/yugabyte/Chart.yaml.


Image:
repository: "yugabytedb/yugabyte"
tag: 2.19.3.0-b140
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please don't modify the values.yaml for this, this is modified by generated code.

# use_cassandra_authentication: false

yugabytedUi:
enabled: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

default should be false for yugabytedUI

yugabytedUi:
enabled: true

metricsSnapshotter:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here default should be false.

ip_version_support: "v4_only" # v4_only, v6_only are the only supported values at the moment

# For more https://docs.yugabyte.com/latest/reference/configuration/yugabyted/#environment-variables
# Note: for yugabyted-ui to work properly with credentials, ysql/ycql passwords must be the same
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this the case?
This can be a blocker for the operator integration?

@amannijhawan
Copy link
Contributor

Hi @djiang9001
I did a first round review but can you please publish this via phorge/phabricator pipeline.
Also can you please add rendered helm charts as well as a link to where this is working in the Testing Done section ?
Thanks
Aman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants