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
- BGP Support
- Versioning
- Antrea API Groups
- Antrea API Reference
Windows
Integrations
Cookbooks
Multicluster
Developer Guide
Project Information
Run Antrea agent simulator
This document describes how to run the Antrea agent simulator. The simulator is useful for Antrea scalability testing, without having to create a very large cluster.
Build the images
make build-scale-simulator
Create the yaml file
This demo uses 1 simulator, this command will create a yaml file build/yamls/antrea-scale.yml
make manifest-scale
The above yaml will create one simulated Node/Pod, to change the number of
instances, you can modify spec.replicas of the StatefulSet
antrea-agent-simulator in the yaml, or scale it via
kubectl scale statefulset/antrea-agent-simulator -n kube-system --replicas=<COUNT>
after deploying it.
Taint the simulator node
To prevent Pods from being scheduled on the simulated Node(s), you can use the following taint.
kubectl taint -l 'antrea/instance=simulator' node mocknode=true:NoExecute
Create secret for kubemark
kubectl create secret generic kubeconfig --type=Opaque --namespace=kube-system --from-file=admin.conf=<path to kubeconfig file>
Apply the yaml file
kubectl apply -f build/yamls/antrea-scale.yml
check the simulated Node:
kubectl get nodes -l 'antrea/instance=simulator'