whatisgithub

What is antrea?

anfernee/antrea — explained in plain English

Analysis updated 2026-07-16 · repo last pushed 2021-09-21

Audience · ops devopsComplexity · 4/5DormantLicenseSetup · moderate

In one sentence

Antrea is a networking and security plugin for Kubernetes clusters that manages how applications communicate and enforces rules about who can talk to whom. It uses Open vSwitch under the hood to handle traffic flow, load balancing, and security policies efficiently.

Mindmap

mindmap
  root((repo))
    What it does
      Kubernetes networking
      Security policies
      Traffic encryption
    Tech stack
      Kubernetes
      Open vSwitch
      Linux and Windows
    Use cases
      Enforce security boundaries
      Troubleshoot network issues
      Multi-cloud deployment
    Audience
      Platform engineers
      Cluster administrators
      DevOps teams
    Key features
      Visual traffic dashboard
      Single file install
      Load balancing

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Apply tiered security rules so a frontend can reach a backend database but unrelated tools cannot.

USE CASE 2

Trace and diagnose blocked network requests or connection issues across cluster workloads.

USE CASE 3

Deploy unified networking and security across private clouds, public clouds, or bare-metal servers.

USE CASE 4

Encrypt traffic between machines in a mixed Linux and Windows Kubernetes cluster.

What is it built with?

KubernetesOpen vSwitchGoLinuxWindows

How does it compare?

anfernee/antrea0verflowme/alarm-clock0xhassaan/nn-from-scratch
Stars0
LanguageCSSPython
Last pushed2021-09-212022-10-03
MaintenanceDormantDormant
Setup difficultymoderateeasymoderate
Complexity4/52/54/5
Audienceops devopsvibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires a running Kubernetes cluster and basic familiarity with kubectl and cluster networking concepts.

Apache 2.0 license, use freely for any purpose including commercial use, with patent protection and attribution.

So what is it?

Antrea is a networking and security tool for Kubernetes clusters. In plain terms, when you have a large number of applications running across many machines, those applications need a way to find each other and talk securely. Antrea handles this invisible wiring, ensuring traffic flows smoothly between your workloads while applying rules about who is allowed to communicate with whom. Under the hood, it relies on a widely used technology called Open vSwitch to manage the data flow. This acts like a high-performance, programmable virtual switchboard. By using this approach, the project handles standard networking tasks like load-balancing and implements security policies very efficiently. It operates behind the scenes at the network level, largely invisible to the applications themselves. Someone managing a Kubernetes environment would use this to enforce strict security boundaries and streamline cluster networking. For example, a platform engineer running services across a mix of Linux and Windows machines could use it to apply tiered security rules, ensuring a frontend application can reach a backend database, but unrelated internal tools cannot. It also includes monitoring and troubleshooting tools, like a visual dashboard for tracing network traffic, which helps teams diagnose connection issues or blocked requests. A notable aspect of the project is its flexibility and easy setup. Administrators can deploy it across private clouds, public clouds, or bare-metal servers, and it supports both Linux and Windows environments. It also offers built-in encryption for traffic moving between machines and can be installed by applying a single configuration file. This makes it a practical choice for teams that need a unified, detailed view of their network policies without adopting a fragmented toolset.

Copy-paste prompts

Prompt 1
Help me install Antrea on my Kubernetes cluster by applying the single configuration file. Walk me through the prerequisites and the kubectl apply command.
Prompt 2
I have Antrea running in my cluster. Show me how to create a network policy that allows my frontend pods to reach my backend database pods but blocks access from all other workloads.
Prompt 3
How do I use Antrea's visual dashboard to trace a blocked network request between two pods in my Kubernetes cluster and identify which security rule is causing the block?
Prompt 4
I want to enable encryption for traffic between my Kubernetes worker nodes using Antrea. Guide me through the configuration steps for a mixed Linux and Windows cluster.

Frequently asked questions

What is antrea?

Antrea is a networking and security plugin for Kubernetes clusters that manages how applications communicate and enforces rules about who can talk to whom. It uses Open vSwitch under the hood to handle traffic flow, load balancing, and security policies efficiently.

Is antrea actively maintained?

Dormant — no commits in 2+ years (last push 2021-09-21).

What license does antrea use?

Apache 2.0 license, use freely for any purpose including commercial use, with patent protection and attribution.

How hard is antrea to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is antrea for?

Mainly ops devops.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.