node-address-labeler

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 15 Imported by: 0

README

Node Address Labeler

The purpose of this project is to automatically add labels to nodes for ip addresses on a specified interface.
This program works by watching the specified interface and adding/removing labels with the prefix of "node.ip/".
For example if the IP address 192.168.100.123/32 is added to our interface, then node.ip/192-168-100-123: "present" is added to the node.
When the IP address is removed then the label is removed.

I made this to automatically add IP address labels for use with Cilium Egress Gateway and Kube-vip.

Running

When running make sure the following env vars are specified.

INTERFACE="eth0"
NODE_NAME="node01"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL