You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KubeArmor supports both AppArmor and BPF LSM as enforcers. However, there is a difference between the feature set. If it is possible, we ask users to enable BPF LSM for a better experience.
However, to enable BPF LSM certain steps as listed here must be followed. We provide a script that users can use to enable BPF LSM on their node however it has it's own caveats.
Thus, we need to provide the ability to enable BPF LSM on compatible nodes through the operator.
Describe the solution you'd like
KubeArmorConfig CR has an updateLSM field. When set to true, based on the annotations applied by snitch, it would either enable BPF LSM itself or through the above mentioned script. Points to keep in mind:
Reboot of nodes
Operators generally follow this mechanism of updating/restarting a node based on annotations set by the user. For example, the nvidia operator has a flag to determine whether a node should be upgraded or not.
Make sure that this happens in a rolling update manner.
Show users the status of nodes.
karmor probe is an option but it requires users to download the tool.
If possible, show this using KubeArmorConfig CR status field.
The text was updated successfully, but these errors were encountered:
So the flow would be like this @DelusionalOptimist ?
1: Extending KubeArmorConfig CR Specification
Modifying the spec section of the KubeArmorConfig CR to include an updateLSM field. This field will indicate whether the operator should attempt to enable BPF LSM on the node.
Feature Request
Description
KubeArmor supports both AppArmor and BPF LSM as enforcers. However, there is a difference between the feature set. If it is possible, we ask users to enable BPF LSM for a better experience.
However, to enable BPF LSM certain steps as listed here must be followed. We provide a script that users can use to enable BPF LSM on their node however it has it's own caveats.
Thus, we need to provide the ability to enable BPF LSM on compatible nodes through the operator.
Describe the solution you'd like
KubeArmorConfig
CR has anupdateLSM
field. When set to true, based on the annotations applied by snitch, it would either enable BPF LSM itself or through the above mentioned script. Points to keep in mind:karmor probe
is an option but it requires users to download the tool.The text was updated successfully, but these errors were encountered: