Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify list of ignored Nomad meta labels #46

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kyern
Copy link

@kyern kyern commented Oct 24, 2024

Feature or Problem

We are actively using Nomad for developments and testing apps and push various deployment info to Nomad's meta such as time of deployment, author, pipeline id and other similar things that help to identify exact revision.
This leads to huge amount of unique labels on Cilium that creates new Identity for them exhausting free identities very fast.
New option provides ability to ignore specified metadata keys when Netreap labeling Cilium endpoints.

Related Issues

Consumer Impact

Can reduce amount of identities created by Cilium.
Without specifying any values Netreap behaviour won't change.

Testing

Built on platform(s)

  • x86_64-linux

Tested on platform(s)

  • x86_64-linux

Unit Test(s)

Manual Verification

Built changed version without new parameter/env var, deployed to Nomad. Behaviour didn't change.
Specified some values for env var, that label absent from Cilium.

@kyern
Copy link
Author

kyern commented Oct 24, 2024

@protochron hi!
Can you review please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant