Skip to content

[Feature Request] Support dnsConfig field in StarRocksCluster CRD (FeSpec / CnSpec / BeSpec) #795

Open

Description

@aubdiy

The Kubernetes PodSpec natively supports the dnsConfig field, which allows users to customize DNS resolution parameters for pods. However, the current StarRocksCluster CRD does not expose this field under starRocksFeSpec, starRocksCnSpec, or starRocksBeSpec.
When attempting to set dnsConfig in the CR, the API Server rejects the request with:

strict decoding error: unknown field "spec.starRocksFeSpec.dnsConfig"

This prevents users from tuning DNS behavior (e.g., setting ndots) for StarRocks pods, which is critical in environments with high DNS query latency and spurious NXDOMAIN responses caused by the default ndots:5 setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions