A Kubernetes Mutating Admission Webhook for automatic P2P capability injection in Dragonfly. This project simplifies Kubernetes Pod configuration by automating the injection of Dragonfly’s P2P proxy settings, dfdaemon socket mounts, and CLI tools through annotation-based policies.
dragonfly-injector
A Kubernetes Mutating Admission Webhook for automatic P2P capability injection in Dragonfly. This project simplifies Kubernetes Pod configuration by automating the injection of Dragonfly’s P2P proxy settings, dfdaemon socket mounts, and CLI tools through annotation-based policies.
Description
Refer to the documentation for more details.
Getting Started
Deploy
Configure
There are two ways to configure the injector:
Method 1: Edit the configuration file directly
Before
kubectl apply, edit the ConfigMap nameddragonfly-injector-configindist/install.yaml.Method 2: Use kubectl to edit the config
After
kubectl apply, you can edit the ConfigMap nameddragonfly-injector-configindragonfly-systemnamespace.Default configuration (reload time: 15s):
For more details, please refer to the docs/install.md.