Simulate network policies

Preview connectivity paths across your cluster before applying new network policies.

1 minute read

Your current network policies may allow unneeded network communications.

To simulate the effects of a new set of network policies, use the Network Policy Simulator:

  1. On the StackRox portal, select Network Graph from the left-hand navigation menu.
  2. On the Network Graph view header, select Network Policy Simulator.
  3. Select Upload and simulate network policy YAML and upload your proposed YAML file. The network graph view displays what your proposed network policies would achieve.
  4. To share your proposed policies with your team, select Share YAML. To apply your policy directly, select Apply Network Policies.

Applying network policies directly can cause problems for running applications. Be sure to test policies in development or testing clusters before applying them to production workloads.

Policy Simulator view
Policy Simulator view

Questions?

We're happy to help! Reach out to us to discuss questions, issues, or feature requests.

© 2021 StackRox Inc. All rights reserved.