Skip to content

[bug] Exposing RC on Talos Linux results in invalid IP range for Endpoint #3

Description

@jitteryjuice

Hello,

I am running this in a 3 node Talos Linux cluster, with the exposeRC flag set to true. I can see the Service is created, however it fails to create the Endpoints due to IP address selection:

rclone W0724 07:55:16.904971 7 nodeserver.go:573] Failed to create service for rclone RC: Endpoints "rclone-a0edcbd3-bd8a-47d1-bcaa-1c5271bc0612" is invalid: subsets[0].addresses[0].ip: Invalid value: "169.254.116.108": may not be in the link-local range (169.254.0.0/16, fe80::/10)

My nodes have a single NIC, with a Node IP, and Cilium as the CNI.

I have debugged the go function that finds addresses which for me has returned:

169.254.116.108 192.168.6.60 192.168.6.55

I suggest we should add a check for dynamically configured link-local addresses. I am happy to work up a PR that adds this if you're open to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions