Alibaba Cloud
TMA-ALIBABA-7.7
Ensure Network policy is enabled on Kubernetes Engine Clusters
说明
A network policy is a specification of how groups of pods are allowed to communicate with each other and other network endpoints. NetworkPolicy resources use labels to select pods and define rules which specify what traffic is allowed to the selected pods. By default, pods are non-isolated; they accept traffic from any source. Pods become isolated by having a NetworkPolicy that selects them. Reported as a manual review item: the benchmark audit needs console review or organisational judgement.
检查方式
审计方法: 人工审核
Using the management console: 1. Logon to ACK console 2. Click the Create Kubernetes Cluster button and make sure Terway is selected in Network Plugin option. Expected state: Only the Terway network plugin support the Network Policy feature, so please make sure not choose Flannel as network plugin when creating cluster. Using the management console: 1. Logon to ACK console 2. Click the Create Kubernetes Cluster button and select Terway in Network Plugin option.
修复方式
修复方法: 操作指南或基础设施补丁
Only the Terway network plugin support the Network Policy feature, so please make sure not choose Flannel as network plugin when creating cluster. Using the management console: 1. Logon to ACK console 2. Click the Create Kubernetes Cluster button and select Terway in Network Plugin option.
属性
- 操作系统
- 任意
- 标签
- alibabaack
- 参考
- CIS Alibaba Cloud Foundation Benchmark v2.0.1 - 7.7 Ensure Network policy is enabled on Kubernetes Engine Clusters