Ensure that intranode visibility is enabled for your Google Kubernetes Engine (GKE) clusters. This allows you to monitor and troubleshoot network traffic between pods running on the same node, enhancing both visibility and security. With this feature, you can use VPC flow logs or other VPC features for intra-node traffic.
This rule resolution is part of the Conformity solution.
Intranode visibility ensures that packets exchanged between Pods are always processed by the VPC network. This guarantees that firewall rules, routes, flow logs, and packet mirroring configurations are consistently applied to the traffic. When a Pod communicates with another Pod on the same node, the packet exits the node, is processed by the Google Cloud network, and is then returned to the same node before being delivered to the destination Pod. Intranode visibility provides the following benefits:
- Comprehensive Flow Logs: Capture flow logs for all traffic between Pods, including traffic on the same node.
- Enhanced Firewall Control: Enforce firewall rules for all Pod-to-Pod communication, including intra-node traffic.
- Traffic Inspection with Packet Mirroring: Clone and forward all traffic, including intra-node traffic, for analysis.
Audit
To determine if intranode visibility is enabled for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
Remediation / Resolution
To enable intranode visibility for your Google Kubernetes Engine (GKE) clusters, perform the following operations:
References
- Google Cloud Platform (GCP) Documentation
- VPC-native clusters
- Network overview
- Setting up intranode visibility
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud container clusters list
- gcloud container clusters describe
- gcloud container clusters update