Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Nidhogg shows error Could not construct reference when logging node events #32

@SQUIDwarrior

Description

@SQUIDwarrior

I'm running the latest image build of Nidhogg (14f4e815a27dc8caaed62e0e9a5341e0f3b7fb31) with Kubernetes v1.21 and i am seeing lots of errors in the logs, even though Nidhogg seems to be working. I think the error is due to the deprecation of selfLink in Kubernetes v1.20: kubernetes/enhancements#1164

Here is the error (truncated for brevity):

E0622 23:00:36.723752       1 event.go:259] Could not construct reference to: '&v1.Node{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}
...
due to: 'selfLink was empty, can't make reference'. Will not report event: 'Normal' 'TaintsChanged'
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions