Network Policy - CI/CD用語集の定義
network policy は、どの pod がどの pod と通信できるかを制御する Kubernetes オブジェクトで、ingress と egress のための pod レベルのファイアウォールとして機能します。デフォルトではすべてのトラフィックが許可されます。pod を選択する policy は、指定した方向についてその pod を default-deny に切り替えます。
Enforcement
network policy は CNI plugin がそれをサポートする場合(Calico、Cilium)にのみ適用されます。enforcement を行わない CNI では、オブジェクトは受け入れられるが無視され、これはよくある静かな抜け穴です。
関連ガイド
CNI (Container Network Interface) - CI/CD Glossary DefinitionCNI (Container Network Interface): CNI is the Container Network Interface, a standard for plugins that wire u…
Kubernetes Namespace - CI/CD Glossary DefinitionKubernetes Namespace: A Kubernetes namespace is a virtual cluster that scopes and isolates resources (pods, s…