Skip to content
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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

djiang9001
Copy link

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.

@@ -8,7 +8,7 @@ nameOverride: ""

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.

@@ -115,6 +115,22 @@ gflags:
tserver: {}
# 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.

@@ -504,6 +522,7 @@ helm2Legacy: 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.

None yet

2 participants