Volcengine Kubernetes Engine
Hardening technology | Basic knowledge | How it works |
Hardening technology | Basic knowledge | How it works |
AppArmor Enforcer | A security enforcement engine based on the Linux kernel's AppArmor module. It is a mature mandatory access control system. | When a Pod is created, vArmor converts defined security policies into AppArmor Profiles and injects them into container configurations via the Webhook mechanism. The Linux kernel then takes control, restricting container processes' file read/write operations, network access, and system calls based on these profiles. |
BPF Enforcer | A next-generation security engine based on eBPF (Extended Berkeley Packet Filter) technology. | Instead of injecting static configurations, it dynamically attaches lightweight eBPF sandbox programs to kernel security hooks (LSM Hooks) or tracepoints. When container processes initiate system calls, eBPF programs perform real-time kernel-space checks to block unauthorized operations. |
Behavior modeling mode | An allowlist-based policy generation mode built on dynamic feature collection. | When this mode is enabled, vArmor enters an "observation period" without immediately blocking operations. It silently logs target container behaviors during normal operation (such as processes started, file paths accessed, network calls made) in the background. After the observation period ends, it automatically generates a dedicated allowlist policy. |
Comparison dimension | AppArmor Enforcer | BPF Enforcer | Behavior modeling mode |
Comparison dimension | AppArmor Enforcer | BPF Enforcer | Behavior modeling mode |
Feature category | Enforcer module (interception engine). | Enforcer module (interception engine). | Policy mode (behavior data collector). |
Working mechanism | Statistically injects profiles and relies on in-kernel modules to perform interception. | Dynamically attaches eBPF programs to implement real-time control at the system call layer. | Silently observes container runtime behaviors, then automatically summarizes and generates allowlist policies. |
Key advantages | Mature ecosystem, high stability, and troubleshooting procedures. | No reliance on a single kernel module, strong cross-system compatibility, and finer-grained interception. | No manual configuration, preventing service interruptions caused by misconfigurations. |
Dependencies and limitations | The host kernel must support AppArmor and have it enabled. | The host kernel version must meet eBPF feature requirements. | Business traffic during observation must be sufficient to avoid incomplete allowlists. |
Application scenario | Routine isolation for workloads on veLinux/Ubuntu nodes. | Nodes incompatible with AppArmor or performance-critical deep protection. | Scenarios where security engineers cannot manually determine explicit permission requirements during the initial launch phase of complex services. |