Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Network Policy VisualizerNew to Visual Studio Code? Get it now.
Network Policy Visualizer

Network Policy Visualizer

Isovalent

|
53 installs
| (6) | Free
Visualize Network Policies side-by-side with YAML using the PolicyMap component
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Network Policy Visualizer

See what a Cilium, Isovalent or Kubernetes network policy allows and denies as you write it. The extension draws the policy as an interactive map next to its YAML in VS Code, and can show the traffic the policy applies to in your clusters.

A CiliumNetworkPolicy open in the editor, with its map in the Policy Visualizer panel

Features

  • Side-by-side visualization: Opens a panel next to your YAML editor showing the policy map
  • Live updates: The map updates as you edit the YAML
  • Automatic detection: Recognizes supported network policy YAML files by apiVersion and kind
  • Real-time flow visibility: Connect to Hubble Timescape to see the flows of the workloads the policy selects

Supported Policy Types

Kind apiVersion
CiliumNetworkPolicy cilium.io/v2
CiliumClusterwideNetworkPolicy cilium.io/v2
NetworkPolicy networking.k8s.io/v1
ClusterNetworkPolicy policy.networking.k8s.io/v1alpha2
IsovalentNetworkPolicy isovalent.com/v1
IsovalentClusterwideNetworkPolicy isovalent.com/v1

Installation

The extension is published as isovalent.vscode-npv-extension:

  • VS Code: install Network Policy Visualizer from the Visual Studio Marketplace.
  • Cursor, VSCodium and other editors using Open VSX: install it from Open VSX.
  • Offline: download the .vsix of a release from the releases page and run code --install-extension vscode-npv-extension-<version>.vsix, or use Extensions: Install from VSIX... from the command palette.

Its versions follow the releases of Hubble Timescape.

Usage

  1. Open a YAML file containing a supported network policy
  2. Click the graph icon in the editor title bar, or run Visualize Network Policy from the command palette
  3. The policy map opens in a side panel

Real-time flow visibility

The map shows what a policy allows on paper. Connected to Hubble Timescape, the extension also shows the traffic the policy actually applies to.

Isovalent, the creators of Cilium, the eBPF-based networking, security and observability layer for Kubernetes, build its enterprise distribution, the Isovalent Enterprise Platform. Its Hubble component observes the network flows between your workloads, and Hubble Timescape, part of the platform, records them so they can be searched and analyzed, as they happen and long after.

To connect the extension to Timescape:

  1. Click Unlock real-time flow visibility at the top right of the panel, then Unlock.
  2. Enter the URL of your Timescape public REST API and, if it requires one, a bearer token. Your Timescape administrator can provide both.
  3. The flows Timescape recorded for the workloads the policy selects are listed below the map. They cover the last hour and refresh every 10 seconds; use the time range and refresh rate pickers above the flows to change this.

Once connected, the button reads Timescape connected and reopens the connection form.

The token is kept in VS Code's SecretStorage, so it is neither written to plaintext extension state nor carried by settings sync. Requests to Timescape are sent by the extension itself, never by the visualization panel, so the token is not exposed to it.

Reporting Issues

Report bugs and suggest features in the issue tracker. CONTRIBUTING.md lists what to include in a report.

Do not report security vulnerabilities in a public issue. Report them privately as described in SECURITY.md.

License

The extension is proprietary software of Isovalent, Inc., a Cisco company, and its use is governed by the Cisco General Terms, see LICENSE. The notices of the third-party software included in the extension are in ThirdPartyNotices.txt, which is shipped in the extension package and attached to each release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft