-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
There was a problem hiding this 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
helm-charts/yunikorn/README.md
Outdated
@@ -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` | |
There was a problem hiding this comment.
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 }} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@blueBlue0102 could you please test it locally and then attach the screenshot? |
@chia7712 |
I've also validated the changes locally. |
There was a problem hiding this 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?
@chia7712 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! |
What is this PR for?
Add flag to helm chart to disable web container.
What type of PR is it?
What is the Jira issue?
How should this be tested?