-
Notifications
You must be signed in to change notification settings - Fork 38
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
Appsec high availability using replicas #208
Conversation
@srkoster: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the forked project rr404/oss-governance-bot repository. |
@srkoster: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the forked project rr404/oss-governance-bot repository. |
/kind enhancement |
Hi @srkoster, I'm sorry I didn't reply quickly to the old PR. IMO, for the high availability, we can play with replicas, and that's it. |
@he2ss no worries. Thanks for explaining why the agent is defined as a daemonset and your thoughts about the appsec deployment. I've removed the daemonset option from the PR. |
Hi @srkoster, Sorry, I got busy with other tasks. So I have a last comment. Otherwise the PR seems good, I also tested it and seems working 👍 |
…ompatibility
I resolved the merge conflict by accepting the |
Hi @he2ss, |
Using the LAPI watchers/login endpoint with username and password is no longer an option when using autoregistration. Instead check the agent metrics endpoint to see if the agent is running.
@he2ss
I've removed the |
Thanks @srkoster for this troubleshoot. |
These agent.additionalAcquisition dummy values make the helm chart test fail because the agent pod isn't able to start.
@he2ss I've removed the |
Thanks @he2ss for implementing Appsec into the Crowdsec helmchart. This PR builds upon #189 and #206 and make Appsec high availability possible by defining
appsec.replicas
.Other changes:
_helpers.tpl
. It can now also be passed throughvalues.yaml
appsec-deployment.yaml
is structured more likeagent-deployment.yaml
registration_token
config intovalues.yaml
(starred out)ci\crowdsec-values.yaml
: removedagent.additionalAcquisition
as the dummy values make the helm chart test fail because the agent pod isn't able to start.ci\crowdsec-values.yaml
: addedagent.metrics.enabled
:true
to use the agent metrics endpoint in the helm chart testtest_agent_up.yaml
: Using the LAPI watchers/login endpoint with username and password is no longer an option when using autoregistration. Instead check the agent metrics endpoint to see if the agent is running during the helm chart test.