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

[YUNIKORN-2626] Add flag to helm chart to disable web container #178

Closed
wants to merge 3 commits into from

Conversation

blueBlue0102
Copy link
Contributor

What is this PR for?

Add flag to helm chart to disable web container.

What type of PR is it?

  • - Feature

What is the Jira issue?

How should this be tested?

Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

@blueBlue0102 thanks for patch. two comments are left

@@ -106,6 +106,7 @@ The following table lists the configurable parameters of the YuniKorn chart and
| `web.resources.limits.memory` | Web app memory resource limit | `500Mi` |
| `embedAdmissionController` | Flag for enabling/disabling the admission controller | `true` |
| `enableSchedulerPlugin` | Flag for enabling/disabling scheduler plugin mode | `false` |
| `enableWebService` | Flag for enabling/disabling web service | `true` |
Copy link
Contributor

Choose a reason for hiding this comment

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

please reformat this table

@@ -30,10 +30,12 @@ spec:
targetPort: http1
protocol: TCP
name: yunikorn-core
{{- if .Values.enableWebService }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please apply it to ingress also? If there is no web port, we don't need to configure ingress, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay! I have applied the changes to the ingress.

Copy link
Contributor

@chenyulin0719 chenyulin0719 left a comment

Choose a reason for hiding this comment

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

LGTM

@chia7712
Copy link
Contributor

@blueBlue0102 could you please test it locally and then attach the screenshot?

@blueBlue0102
Copy link
Contributor Author

@chia7712
with web:
image
image
image
image

without web:
image
image
image
image

@chenyulin0719
Copy link
Contributor

chenyulin0719 commented Jun 11, 2024

I've also validated the changes locally.

Copy link
Contributor

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

BTW, do we need to update site also?

@blueBlue0102
Copy link
Contributor Author

@chia7712
Thank you for the review!

I've already created a PR for the site update here: apache/yunikorn-site#436.

Please let me know if there are any other changes needed.

Thanks again!

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.

3 participants