Skip to content

bug: fluentbitconfig not generated for the collector stateful sets #1436

Open
@jnormand-gt

Description

@jnormand-gt

Describe the issue

The collector definition points to a fluentbitconfig name. But the operator does not generator fluentbitconfig referenced by collectors, only those references by daemonsets.

To Reproduce

create a collector object and reference a valid clusterfluentbitconfig in its spec. Look at the operator logs and see nothing happening....

Expected behavior

the config and secrets should be generated for both collectors and daemonsets.

Your Environment

- Fluent Operator version: 3.2.0
- Container Runtime: GKE 1.30
- Operating system: GKE
- Kernel version: linux

How did you install fluent operator?

from the setup.yaml (removing the docker.sock, since this is not supported on gke)

Additional context

defining a daemonset works just fine and i am able to ingest logs. But i am trying to define a stateful aggregation layer with a collector object.

I think the issue is located here:

if cfg.Name != fb.Spec.FluentBitConfigName {

since there is no fluentbit object, but a collector object referencing that config

Metadata

Metadata

Assignees

No one assigned

    Labels

    multi-tenantissue complaining about multi-tenant usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions