C
CrowdSec2mo ago
bacon

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
CrowdSec
CrowdSec2mo ago
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 ❤️
Loz
Loz2mo ago
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 entity
bacon
baconOP2mo ago
Can these set credentials be used on 2 LAPI instances at the same time?
Loz
Loz2mo ago
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
bacon
baconOP2mo ago
Does the reputation persist if I enroll it into the console?
Loz
Loz2mo ago
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.
bacon
baconOP2mo ago
Ok makes sense, thank you for the clarification :D
CrowdSec
CrowdSec2mo ago
Resolving Migrating Security Engine Reputation This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?