WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@LorenzoTettamanti
Copy link
Member

@LorenzoTettamanti LorenzoTettamanti commented Oct 29, 2025

Changes

This PR introduces IP address persistence in CLI metadata. The update consists of generating a configmap containing the IP addresses passed by the CLI, which are then loaded into the BPF MAP after each start.

Related issues: #149 #119

Testing

Tested in a local environment with calico CNI.
containers:

Agent service port-forwarding docs: https://docs.cortexflow.org/cfcli/quick-start-guide/#agent-setup

Expected behaviour:

  1. Loaded 3 addresses:
Schermata del 2025-11-02 14-45-45
  1. Cluster shutdown
  2. Cluster restart + cortexflow agent port-forward
  3. Check if the addresses are still present:
Schermata del 2025-11-02 14-50-41

@LorenzoTettamanti LorenzoTettamanti self-assigned this Oct 29, 2025
@LorenzoTettamanti LorenzoTettamanti added enhancement New feature or request rust Pull requests that update Rust code labels Oct 29, 2025
@LorenzoTettamanti LorenzoTettamanti added cortexflow cli CLI related issues ebpf eBPF related tasks labels Oct 29, 2025
@LorenzoTettamanti LorenzoTettamanti moved this to In Progress in CortexFlow v0.1 Oct 29, 2025
… the blocklist map with persisted blocked addresses during startup
…recated logic with metadata persisted on disk in favor of metadata persisted on configmaps
… are now stored in a dedicated configmap named "cortexbrain-client-config" stored in the cortexflow namespace
… changes. Deleted deprecated files. Fixed configmap creation during CLI installation
@LorenzoTettamanti LorenzoTettamanti marked this pull request as ready for review November 2, 2025 13:51
@siddh34
Copy link
Collaborator

siddh34 commented Nov 2, 2025

image image

Its working fine @LorenzoTettamanti mate!

Great 🚀🚀

@LorenzoTettamanti
Copy link
Member Author

Thanks for the review @siddh34 ! I'm merging the changes

@LorenzoTettamanti LorenzoTettamanti merged commit 3d99b3f into CortexFlow:feature/ebpf-core Nov 2, 2025
@LorenzoTettamanti LorenzoTettamanti moved this from In Progress to Done in CortexFlow v0.1 Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cortexflow cli CLI related issues ebpf eBPF related tasks enhancement New feature or request rust Pull requests that update Rust code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants