Documentation
Introduction
- Overview
- Getting Started
- Support for K8s Installers
- Deploying on Kind
- Deploying on Minikube
- Configuration
- Installing with Helm
Cloud Deployment
Reference
- Antrea Network Policy
- Antctl
- Architecture
- Traffic Encryption (Ipsec / WireGuard)
- Securing Control Plane
- Security considerations
- Troubleshooting
- OS-specific Known Issues
- OVS Pipeline
- Feature Gates
- Antrea Proxy
- Network Flow Visibility
- Traceflow Guide
- NoEncap and Hybrid Traffic Modes
- Egress Guide
- NodePortLocal Guide
- Antrea IPAM Guide
- Exposing Services of type LoadBalancer
- Traffic Control
- Versioning
- Antrea API Groups
- Antrea API Reference
Windows
Integrations
Cookbooks
Multicluster
Developer Guide
Project Information
Deploying Antrea on Minikube
Install Minikube
Follow these steps to install minikube and set its development environment.
Deploy Antrea
Deploy Antrea to Minikube cluster
# curl is required because --cni flag does not accept URL as a parameter
curl -Lo https://github.com/antrea-io/antrea/releases/download/<TAG>/antrea.yml
minikube start --cni=antrea.yml --network-plugin=cni
Deploy a local build of Antrea to Minikube cluster (for developers)
These instructions assume that you have built the Antrea Docker image locally
(e.g. by running make
from the root of the repository, or in case of arm64 architecture by running
DOCKER_BUILDKIT=1 ./hack/build-antrea-ubuntu-all.sh --platform linux/arm64
).
# load the Antrea Docker image in the minikube nodes
minikube image load projects.registry.vmware.com/antrea/antrea-ubuntu:latest
# deploy Antrea
kubectl apply -f antrea/build/yamls/antrea.yml
Verification
After a few seconds you should be able to observe the following when running
kubectl get pods -l app=antrea -n kube-system
:
NAME READY STATUS RESTARTS AGE
antrea-agent-9ftn9 2/2 Running 0 66m
antrea-controller-56f97bbcff-zbfmv 1/1 Running 0 66m