You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-1Lines changed: 32 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,37 @@ The CNI Outbound Plugin is a Container Network Interface (CNI) plugin built to m
18
18
- Supports ADD, DEL, and CHECK operations as per CNI specification
19
19
- Integrates with existing CNI plugins as a chained plugin
20
20
21
+
## Development Setup
22
+
23
+
The project includes a development environment using Docker Compose. To use the development setup:
24
+
25
+
1. Navigate to the `configs/development` directory:
26
+
```
27
+
cd configs/development
28
+
```
29
+
30
+
2. Build the project, create the Docker image, and start the development environment:
31
+
```
32
+
make all
33
+
```
34
+
35
+
This command will:
36
+
- Build the plugin for Linux ARM64
37
+
- Create a Docker image with Nomad and the CNI plugin
38
+
- Start the Docker Compose environment
39
+
40
+
3. To stop and remove the development environment:
41
+
```
42
+
make down
43
+
```
44
+
45
+
4. To rebuild and restart the environment after making changes:
46
+
```
47
+
make build docker-build down up
48
+
```
49
+
50
+
The development environment includes a Nomad server with the CNI Outbound Plugin pre-installed. You can access the Nomad UI at `http://localhost:4646`.
51
+
21
52
## Installation
22
53
23
54
To install the CNI Outbound Plugin, follow these steps:
@@ -223,4 +254,4 @@ This project is licensed under Apache-2.0
0 commit comments