Skip to content

feat: support vmanomaly v1.30.3 writer controls - #2542

Draft
fred-navruzov wants to merge 1 commit into
masterfrom
chore/vmanomaly-v1.30.3-writer
Draft

feat: support vmanomaly v1.30.3 writer controls#2542
fred-navruzov wants to merge 1 commit into
masterfrom
chore/vmanomaly-v1.30.3-writer

Conversation

@fred-navruzov

Copy link
Copy Markdown
Contributor

note: can be merged after v1.30.3 release is live

Motivation

Keep the VMAnomaly custom resource aligned with the bounded writer controls available in v1.30.3 and make that runtime the Operator default after it is published.

Changes

  • Add typed spec.writer.batchMaxSeries, batchMaxBytes, and metricPrefixCacheMaxEntries fields and map them to the runtime's snake-case writer configuration.
  • Preserve an explicit cache limit of 0 through a pointer field so users can disable cross-cycle prefix caching.
  • Update the default VMAnomaly image version to v1.30.3.
  • Regenerate deepcopy code, CRDs, API references, environment defaults, examples, and resource documentation.
  • Document rendezvous sharding through spec.extraEnvs; the existing Operator sharding API remains unchanged.

Compatibility and scope

  • All new writer fields are optional; omitted values continue to use runtime defaults.
  • connectionRetryAttempts remains unchanged because converting its public Go field to a pointer solely to represent 0 would be a separate API migration.
  • No competing typed sharding-strategy field is introduced.

Validation

  • make docs completed, including generation, formatting, vetting, builds, CRDs, API docs, and env docs.
  • Operator VMAnomaly factory/config tests passed.
  • Operator internal config tests passed.
  • The separate Operator API v1 module tests passed.
  • Generated diffs and git diff --check are clean.

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.

1 participant