Skip to content

[opentelemetry-collector] Pod fails to start when node name is digits only #2250

Description

@ebostijancicunwired

The pod fails to start with the following error message when deployed on a node which hostname contains only digits:

Error: invalid configuration: service::telemetry::resource: legacy resource attribute "host.name" must be string or null

A workaround for this error is setting the resource attributes host.name and k8s.node.name to null

resource:
  k8s.node.name: 'null'
  host.name: 'null'

unfortunately this is not a satisfying solution, as information is lost.

According to RFC1123 §2.1 hostnames with digits only are allowed.

Activity

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

    bugSomething isn't workingchart:collectorIssue related to opentelemetry-collector helm chartgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions