[ML] Adding cloud specific ML node warning#50139
[ML] Adding cloud specific ML node warning#50139jgowdyelastic merged 13 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/ml-ui (:ml) |
|
@elasticmachine merge upstream |
💔 Build Failed |
|
@elasticmachine merge upstream |
💚 Build Succeeded |
…b.com:jgowdyelastic/kibana into adding-cloud-specific-ml-node-warning-callout
|
@elasticmachine merge upstream |
💔 Build Failed |
|
retest |
|
@elasticmachine merge upstream |
💔 Build Failed |
|
Hey there I was lookin into some of the test failures on this PR and noticed that whenever I try to access Kibana with this branch, I get an |
…b.com:jgowdyelastic/kibana into adding-cloud-specific-ml-node-warning-callout
|
thanks @poffdeluxe, looks like the regex was the issue. |
💔 Build Failed |
|
@elasticmachine merge upstream |
💔 Build Failed |
|
retest |
💚 Build Succeeded |
darnautov
left a comment
There was a problem hiding this comment.
LGTM, some nit comments
| export const NodeAvailableWarning: FC = () => { | ||
| if (mlNodesAvailable() === true || permissionToViewMlNodeCount() === false) { | ||
| return null; | ||
| } else { |
| return cloudInfo.isCloud; | ||
| } | ||
|
|
||
| export function cloudDeploymentId(): string | null { |
There was a problem hiding this comment.
nit: getCloudDeploymentId would be more descriptive
|
|
||
| try { | ||
| const info = await callWithRequest('ml.info'); | ||
| const cloudIdKey = 'xpack.cloud.id'; |
There was a problem hiding this comment.
nit: would be convenient to have a dictionary for such constants
|
The comments raised will be addressed in a post 7.5 follow up PR which will also reintroduce the refactoring which was removed from original PR. |
* [ML] Adding cloud specific ML node warning * fixing include * adding callout and cloud checks * fixing translations * removing positive look behind in regex
* [ML] Adding cloud specific ML node warning * fixing include * adding callout and cloud checks * fixing translations * removing positive look behind in regex
* upstream/master: [ML] Make navigation in tests more stable (elastic#50132) Migrate authorization subsystem to the new platform. (elastic#46145) Bugfix: Interpreter conversion of string to number should throw on NaN elastic#27788 (elastic#50063) Update dependency @elastic/charts to v14 (elastic#49947) [ML] Adding cloud specific ML node warning (elastic#50139) Fixing bugs in the Shareable Runtime (elastic#49965) Revert router base name for Uptime plugin to use hash in default path. (elastic#50095) Ability to have telemetry always opted in (elastic#49798) Add "Get Help" and "Kibana Feedback" links to the help popover (elastic#49797) Removes references to Elasticsearch mapping types (elastic#47610) [skip-ci] Replace coordinate map in Kibana getting started docs with Maps (elastic#50167) [ML] Indicate missing required privileges for import in File Data Viz (elastic#50147) [SIEM][Detection Engine] Removes technical debt and minor bug fixes (elastic#50111)
* upstream/master: Move table-list-view to kibana-react (elastic#50046) [ML] Stats bar for data frame analytics (elastic#49464) [ML] Make navigation in tests more stable (elastic#50132) Migrate authorization subsystem to the new platform. (elastic#46145) Bugfix: Interpreter conversion of string to number should throw on NaN elastic#27788 (elastic#50063) Update dependency @elastic/charts to v14 (elastic#49947) [ML] Adding cloud specific ML node warning (elastic#50139) Fixing bugs in the Shareable Runtime (elastic#49965) Revert router base name for Uptime plugin to use hash in default path. (elastic#50095) Ability to have telemetry always opted in (elastic#49798) Add "Get Help" and "Kibana Feedback" links to the help popover (elastic#49797) Removes references to Elasticsearch mapping types (elastic#47610) [skip-ci] Replace coordinate map in Kibana getting started docs with Maps (elastic#50167) [ML] Indicate missing required privileges for import in File Data Viz (elastic#50147) [SIEM][Detection Engine] Removes technical debt and minor bug fixes (elastic#50111)
…skip ci] * upstream/master: Move table-list-view to kibana-react (elastic#50046) [ML] Stats bar for data frame analytics (elastic#49464) [ML] Make navigation in tests more stable (elastic#50132) Migrate authorization subsystem to the new platform. (elastic#46145) Bugfix: Interpreter conversion of string to number should throw on NaN elastic#27788 (elastic#50063) Update dependency @elastic/charts to v14 (elastic#49947) [ML] Adding cloud specific ML node warning (elastic#50139) Fixing bugs in the Shareable Runtime (elastic#49965) Revert router base name for Uptime plugin to use hash in default path. (elastic#50095) Ability to have telemetry always opted in (elastic#49798) Add "Get Help" and "Kibana Feedback" links to the help popover (elastic#49797) Removes references to Elasticsearch mapping types (elastic#47610) [skip-ci] Replace coordinate map in Kibana getting started docs with Maps (elastic#50167) [ML] Indicate missing required privileges for import in File Data Viz (elastic#50147) [SIEM][Detection Engine] Removes technical debt and minor bug fixes (elastic#50111)
Adds a link to the cloud deployment when there are no nodes and kibana is running on cloud.
Text in callout
Can be tested by adding some settings to yml files:
elasticsearch.yml
node.ml: falsekibana.yml
xpack.cloud.id: <supply your own cloud id>Also moves some code about:
Due to issues in the kibana CI, there some planned refactoring has not made it into this PR.
In a follow up PR,
new_job_defaults.tswill be removed in favour of a dedicatedml_server_infoservice.Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Documentation was added for features that require explanation or tutorials- [ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
- [ ] This was checked for breaking API changes and was labeled appropriately- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately