[LIVY-703] Show SparkUI link on Livy UI when running on Kubernetes#252
[LIVY-703] Show SparkUI link on Livy UI when running on Kubernetes#252jahstreet wants to merge 11 commits into
Conversation
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #252 +/- ##
============================================
- Coverage 67.92% 66.69% -1.23%
- Complexity 939 956 +17
============================================
Files 102 103 +1
Lines 5876 6189 +313
Branches 891 946 +55
============================================
+ Hits 3991 4128 +137
- Misses 1314 1464 +150
- Partials 571 597 +26
Continue to review full report at Codecov.
|
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
2090bcb to
a24ee84
Compare
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
Signed-off-by: Aliaksandr Sasnouskikh <jahstreetlove@gmail.com>
a24ee84 to
4050c0d
Compare
ajbozarth
left a comment
There was a problem hiding this comment.
Following my review on #249 on a couple typos here, again I'm not the best to review you new files, but afaik the changes look fine as far as code styling and formatting is concerned.
Feel free to tag me for review on future incremental PRs that touch the Livy core, conf, and ui code (especially the UI stuff since I wrote that whole library)
|
|
||
| # If the Livy Web UI should be included in the Livy Server. Enabled by default. | ||
| # livy.ui.enabled = true | ||
| # Wether to display on Livy UI links to Spark UI when running on Kubernetes |
| val SERVER_BASE_PATH = Entry("livy.ui.basePath", "") | ||
|
|
||
| val UI_ENABLED = Entry("livy.ui.enabled", true) | ||
| // Wether to display on Livy UI links to Spark UI when running on Kubernetes |
Thanks man, I appreciate that! |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #252 +/- ##
============================================
- Coverage 68.06% 66.69% -1.37%
- Complexity 940 956 +16
============================================
Files 101 103 +2
Lines 5855 6189 +334
Branches 886 946 +60
============================================
+ Hits 3985 4128 +143
- Misses 1299 1464 +165
- Partials 571 597 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
It was merged in another MR. |
What changes were proposed in this pull request?
Jira
This PR is one of the PRs in the series related to the splitting of the PR #167 to multiple PRs to ease and speed up review and merge processes.
This PR targets branch of the base PR #249 and should be merged after it.
This PR implements a way to build Spark UI links on Livy UI when running on Kubernetes. This patch is required to unlock further integrations with Kubernetes Ingress resources (ref: #167).
Refer jahstreet#35 to compare changes.
How was this patch tested?
Unit tests.
Manual testing with Kubernetes on Docker Desktop for Mac v2.1.0.1.
Environment - Helm charts: