Project 'platform-one/big-bang/apps/security-tools/twistlock' was moved to 'big-bang/product/packages/twistlock'. Please update any links and bookmarks that may still have the old path.
Resolve "Twistlock - Add/Document Affinity"
Closes #4 (closed)
Edited by Micah Nagel
Merge request reports
Activity
changed milestone to %1.5.0
added Affinity/AntiAffinity priority4 statusdoing twistlock labels
added statusreview label and removed statusdoing label
Looks like a lot of changes, but here's a summary:
- split out everything from the one mega file into separate resource files for easier visibility
- added templating to allow passing affinity and anti-affinity values into the twistlock deployment
- added a doc detailing how to use those values
NOTE: Twistlock doesn't really behave nicely with more than one replica, which is why it's currently hardcoded. While other packages simplify anti-affinity to a soft/hard toggle, this doesn't make sense with only one replica. I still provided a values passthrough, but it allows full specification for anti-affinity in case the customer doesn't want to schedule twistlock pods on the same node as an anchore pod or something like that for example.
mentioned in commit 44c0643f
Please register or sign in to reply