-
Notifications
You must be signed in to change notification settings - Fork 116
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
Add profile setting to enable serverless in compose #1766
base: main
Are you sure you want to change the base?
Conversation
I think there are also some flags that have to be set for Kibana: https://github.com/elastic/kibana/blob/main/config/serverless.oblt.yml#L17 |
@jsoriano It would be great to get this moving forward to make testing on serverless much easier. |
Testing on actual serverless is already fully supported by using I could not find any different behaviour in ES by setting |
But we are talking here about local testing / during development / latest snapshots.
@leehinman Maybe you can help with this one? |
Added, but it looks like some flags are not available in the builds we use. Maybe we need to use different docker images. |
@flash1293 Do you know by chance more about what configs must be used? |
Unfortunately I don't know much about running serverless kibana/elasticsearch. The dev environment is using the |
When we were adding support to serverless for Beats we found that there was no local development environment that could easily be setup with Docker. That All of the Beats serverless tests run against real Serverless projects provisioned by the agent test framework. |
It seems like the kibana dev setup is super similar - @afharo where can we learn more about how it works there? |
HI! Thanks for the ping. I think the best folks to ask about how our |
{{ $serverless_project_type := fact "serverless_project_type" }} | ||
{{ if eq $serverless_enabled "true" }} | ||
{{ if eq $serverless_project_type "observability" }} | ||
# Observability Project config |
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.
AFAIK, just setting serverless: oblt
should be enough to load all other settings (if you use the Kibana Serverless docker image).
Most of how we run ES serverless for Kibana development is in this file: https://github.com/elastic/kibana/blob/main/packages/kbn-es/src/utils/docker.ts The first few logs lines should be Starting Serverless Elasticsearch...
Serverless default for [stateless.enabled] is overridden to [true] We pass |
Supersedes #1231.