Red Hat OpenShift
TMA-OPENSHIFT-5.3.1
Ensure that the CNI in use supports Network Policies
Descripción
There are a variety of CNI plugins available for Kubernetes. If the CNI in use does not support Network Policies it may not be possible to effectively restrict traffic in the cluster. The benchmark marks this recommendation Manual.
Cómo se verifica
Método de auditoría: Revisión manual
Review the documentation of the CNI plugin (OpenShift SDN or OVN-Kubernetes) in use by the cluster, and confirm that it supports ingress and egress network policies. OpenShift Container Platform uses a software-defined networking (SDN) approach to offer a unified cluster network that enables communication between Pods across the OpenShift Container Platform cluster. This Pod network can be established and maintained by either the OpenShift SDN plugin, which configures an overlay network using Open vSwitch (OVS), or by the OVN-Kubernetes plugin.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Implement a network policy.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- openshiftpoliciesnetwork
- Referencia
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 5.3.1 Ensure that the CNI in use supports Network Policies