8237: Add support for Jolokia over Kubernetes proxy#576
8237: Add support for Jolokia over Kubernetes proxy#576skarsaune wants to merge 51 commits intoopenjdk:masterfrom
Conversation
|
👋 Welcome back skarsaune! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
This reverts commit c81c035.
|
@skarsaune This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
The cause for the log initialization output is calling |
However, other fabric8.io methods need slf4j quite immediately after that. As the log statement states, it will default to a NOOP logger that we believe is sufficient at this point (problems scanning contexts will manifest themselves as exceptions that should be sufficient to troubleshoot). |
|
Found the "issue" with the JMC agent.
|
|
@skarsaune This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Finding on the Jolokia side. When probing connection k8s API authorization is missing. This can be fixed by using fabric8 http client instead of using OK Http directly. |
|
@skarsaune this pull request can not be integrated into git checkout JMC-8237-kubernetes-proxy
git fetch https://git.openjdk.org/jmc.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
It's stuck on some formatting, it'll fix once you run |
|
Setting to draft, and resetting test status boxes. Needs retest now. |
|
Hmm, it may be that Kubernetes developments have made this approach not feasible anymore: jolokia/jolokia#989 |
6f95e9c to
b1040d3
Compare
b1040d3 to
a31c665
Compare
|
Status update: Things are back to working now 🎉 . Tested successfully both with AKS and GKE. The main struggle has been the 3rd party dependencies after Jolokia became more modular. I need to revisit the third party pom.xml to figure out exactly how much wodoo is needed. |
JMC-8273 : Use the jolokia protocol over a kubernetes http proxy.
Testing connectivity:
Other things observed:
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jmc.git pull/576/head:pull/576$ git checkout pull/576Update a local copy of the PR:
$ git checkout pull/576$ git pull https://git.openjdk.org/jmc.git pull/576/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 576View PR using the GUI difftool:
$ git pr show -t 576Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jmc/pull/576.diff
Using Webrev
Link to Webrev Comment