14.7 Visualizing and Testing Network Policies
Right, so you’ve written a NetworkPolicy. You’ve stared at the YAML, you’ve run kubectl apply -f, and it returned without an error. Fantastic. Now for the multi-million dollar question: is it actually doing what you think it’s doing? This is where most people’s eyes glaze over and they just hope for the best. Don’t be that person. Hope is not a strategy; it’s a prelude to a 3 AM page. Let’s get tactical and verify our work.