Skip to content

Add a serverless-kibana product for the Kibana Serverless API - #5103

Open
akira28 wants to merge 1 commit into
mainfrom
feature/serverless-kibana-product
Open

akira28 wants to merge 1 commit into
mainfrom
feature/serverless-kibana-product

Conversation

@akira28

@akira28 akira28 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Adds a serverless-kibana product, so the Kibana Serverless API can declare its own versionless product instead of borrowing kibana and the stack version line.

Affects: Configuration, API reference

Prompt summary: While pointing API docs at the current stack release (#5102), the Kibana Serverless API turned out to declare product: kibana. The ask is a PR that adds the missing serverless-kibana product, as raised in the Slack thread that led to https://github.com/elastic/docs-eng-team/issues/1296.

Why

products.yml has serverless-elasticsearch but no Kibana counterpart. Kibana's docs/docset.yml therefore gives its kibana-serverless API product: kibana, which ties a serverless API to the stack versioning system. Any stack-version logic, such as the cap in #5102, then applies to an API that has no release versions.

What

A versionless Kibana Serverless product

config/products.yml gains serverless-kibana with display name Kibana Serverless and versioning: 'all', the same shape as serverless-elasticsearch. The product icons already mapped serverless-kibana to the Kibana icon.

Console samples keep working

Generated samples for serverless-kibana use the same kbn: Console prefix and ${KIBANA_URL} host as kibana. Without this, the new product would lose its Console sample.

The docs-builder fixture uses it

The docs-builder-kibana-serverless API in docs/_docset.yml now declares product: serverless-kibana, and the API Explorer page lists it among the products that get a Console sample.

Out of scope: switching elastic/kibana docs/docset.yml to product: serverless-kibana. That follows once this ships, because the docset is validated against the released products.yml.

Verify

dotnet test --project tests/Elastic.ApiExplorer.Tests
# HostVariableFor_NamesTheProductsHost, ConsolePrefixFor_OnlyElasticsearchAndKibanaCanRunConsole

🤖 Generated with Claude Code

Kibana Serverless had no product of its own, so its API declared `product: kibana` and inherited the stack versioning. The new product is versionless like `serverless-elasticsearch`, and its generated samples keep the `kbn:` Console prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Docs preview (local build)

Handbook preview: https://docs-v3-preview.elastic.dev/elastic/docs-builder/pull/5103/

Sample changed pages:

@shainaraskas shainaraskas left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

per the thread, I think we need to take more actions to avoid making the collision with the serverless project type product keys worse

one path forward:

  • this would change to kibana-serverless
  • we make a new key for elasticsearch-serverless (to differentiate it from the serverless-elasticsearch key, which is the project type), and apply it everywhere we mean "the serverless version of elasticsearch", e.g. the serverless API
  • we adjust the name of serverless-elasticsearch to slot in project: serverless-project-elasticsearch

alternative:

the things that mean "the serverless version of es or kib" get a name that can't be confused, e.g. elasticsearch-serverless-flavor and kibana-serverless-flavor - this doesn't require actions anywhere else

This branch was successfully deployed

2 active deployments
docs-preview — 0f4041b3 Deployed Dec 2, 2026 by github-actions[bot]
assembler-preview — 0f4041b3 Deployed Dec 2, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants