Skip to content

operator does not support full targetallocator config schema (example: allocationFallbackStrategy) #3892

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

Open
aglarendil opened this issue Apr 9, 2025 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@aglarendil
Copy link

Component(s)

No response

What happened?

Description

I tried to use a field supported by TA and bumped into an issue of these values not being synchronized, so I cannot use a fallbackStrategy to query a couple of targets that are not bound to a "node" object (i.e. kube apiserver serviceMonitor)
i.e. here are the settings for opentelemetry-kube-stack where I create a target-allocator daemonset to collect metrics from various services.
It gets passed as is to the operator

target-allocator:
    targetAllocator:
      allocationStrategy: per-node
      allocationFallbackStrategy: consistent-hashing

The flag, while it can be assumed to be valid, is not passed through the layers of helm -> operator -> collector

Steps to Reproduce

set allocationFallbackStrategy (or any TA config option from the config.go schema converting it snake_case -> camelCase)

Expected Result

a correspondingly configured Collector object is created

Actual Result

the field is dropped

Kubernetes Version

1.31

Operator version

0.120

Collector version

0.123.0

Environment information

Environment

Ubuntu 24.04

Log output

Additional context

No response

@aglarendil aglarendil added bug Something isn't working needs triage labels Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant