How To Enforce Kubernetes Network Security Policies Using OPA

Mohamed Ahmed
13 min readJun 25, 2020

This article was originally published at: https://www.magalix.com/blog/how-to-enforce-kubernetes-network-security-policies-using-opa

This article is part of our Open Policy Agent (OPA) series, and assumes that you are familiar with Kubernetes and OPA. If you haven’t already done so, or if you need a refresher, please have a look at the previous articles published in this series.

Today we are going to use OPA to validate our Kubernetes Network Policies. In a nutshell, a network policy in Kubernetes…

--

--

Mohamed Ahmed

Magalix Co-Founder, dad, and learner @MohamedFAhmed