Skip to content

[8.x] [Obs AI Assistant] Perform index creation at startup (#201362)#202728

Merged
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-201362
Dec 3, 2024
Merged

[8.x] [Obs AI Assistant] Perform index creation at startup (#201362)#202728
kibanamachine merged 1 commit intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-201362

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

Currently the knowledge base creates index assets (index templates, index components) lazily when the user interacts with the assistant. This prevents running the semantic text migrations (added in elastic#186499) when Kibana starts because the mappings have not yet been updated.

Additionally, this PR also increases `min_number_of_allocations` to 1 to
ensure at least one ML node is available at all times.

(cherry picked from commit b217f1a)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Dec 3, 2024
@kibanamachine kibanamachine enabled auto-merge (squash) December 3, 2024 13:53
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant labels Dec 3, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2024

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Dec 3, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 02a3acb
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-202728-02a3acb0cdaa

Metrics [docs]

✅ unchanged

History

cc @sorenlouv

@kibanamachine kibanamachine merged commit 36f34e5 into elastic:8.x Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR ci:project-deploy-observability Create an Observability project Team:Obs AI Assistant Observability AI Assistant

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants