Skip to content

delete ingesters from jsonnet#6504

Merged
javiermolinar merged 4 commits intomainfrom
delete-ingesters-from-jsonnet
Feb 19, 2026
Merged

delete ingesters from jsonnet#6504
javiermolinar merged 4 commits intomainfrom
delete-ingesters-from-jsonnet

Conversation

@javiermolinar
Copy link
Copy Markdown
Contributor

@javiermolinar javiermolinar commented Feb 19, 2026

What this PR does:
It cleans up the jsonnet to remove any trace of the ingesters.

It defaults ingester_write_path_enabled to false but we will clean this up in a different PR

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@javiermolinar
Copy link
Copy Markdown
Contributor Author

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3b5aceaea8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 4 to 5
(import 'distributor.libsonnet') +
(import 'ingester.libsonnet') +
(import 'generator.libsonnet') +
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore an ingest write path before removing ingesters

Removing the ingester mixin from the top-level composition means these manifests no longer render any ingester StatefulSet/Service, but this change does not switch distributor off the ingester write path. In current code, ingester_write_path_enabled defaults to true (modules/distributor/config.go) and PushBytes still calls sendToIngestersViaBytes whenever that flag is true (modules/distributor/distributor.go), so with zero ingester instances in the ring, ingest requests fail (dskit DoBatchWithOptions returns an error when InstancesCount <= 0). Please keep an ingester deployment or enable/configure the Kafka/live-store write path in the same change.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is true, we can default it to false although we will clean up that later on

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 19, 2026

💻 Deploy preview deleted (delete ingesters from jsonnet).

@javiermolinar javiermolinar merged commit 4195dca into main Feb 19, 2026
26 checks passed
@javiermolinar javiermolinar deleted the delete-ingesters-from-jsonnet branch February 19, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants