turbot/alicloud_compliance

Control: 7.8 Ensure ENI multiple IP mode support for Kubernetes Cluster

Description

Alibaba Cloud ENI (Elastic Network Interface) has supported assign ranges of internal IP addresses as aliases to a single virtual machine's ENI network interfaces. This is useful if you have lots of services running on a VM and you want to assign each service a different IP address without quota limitation.

Remediation

Only the Terway network plugin support the Network Policy feature, so please make sure not choose Flannel as network plugin when creating cluster.

From Console

  1. Logon to ACK console.
  2. Click the Create Kubernetes Cluster button and select Terway in Network Plugin option.

Usage

Run the control in your terminal:

powerpipe control run alicloud_compliance.control.cis_v100_7_8

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run alicloud_compliance.control.cis_v100_7_8 --share

SQL

This control uses a named query:

cs_kubernetes_cluster_ipvlan_enabled

Tags