Migrating Security Engine Reputation
I currently have a Crowdsec LAPI server running on a VM, it's been running for about 2ish years. I currently in the process of migrating it to my k8s cluster.
I was wondering if it's possible to "move" the reputation gained by contributing back upstream by my VM-based LAPI server to a fresh deployment of my k8s LAPI server. I never enrolled my Security Engine to the Console, I'm guessing it should be possible to do so by enrolling but correct me if I am wrong.
8 Replies
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type
/unresolve© Created By WhyAydan for CrowdSec ❤️
Your lapi will have a
online_api_credentials.yaml within the configuration directly if you mount that file contents within a pvc to LAPI it will be the same entityCan these set credentials be used on 2 LAPI instances at the same time?
Yes, you might have to roll your own PVC as we only have an option to store them inside a secret. to which im not great on k8s so I have no idea what it does unless you can reverse engineer it
Does the reputation persist if I enroll it into the console?
No because enrolling simply ties the online_api_crednetials to your account, but the account doesnt hold reputation it simply those credentials that capi uses to know which instance and the reputation it has built.
Ok makes sense, thank you for the clarification :D
Resolving Migrating Security Engine Reputation
This has now been resolved. If you think this is a mistake please run
/unresolve