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
This repository contains the source for Calico's VPP dataplane integration. The integration is in incubation status, with significant development in progress.
10
+
This repository contains the source for Calico's VPP dataplane integration. The
11
+
integration is in incubation status, with significant development in progress.
9
12
10
-
###Integration goals
13
+
## Integration goals
11
14
12
-
The main goal of this integration is to accelerate the networking of k8s clusters that use Calico thanks to [FD.io VPP](https://fd.io/docs/vpp/master/). Nodes running the VPP dataplane provide faster networking to their pods, without requiring any changes to the applications running in the pods.
15
+
The main goal of this integration is to accelerate the networking of k8s
16
+
clusters that use Calico thanks to [FD.io VPP](https://fd.io/docs/vpp/master/).
17
+
Nodes running the VPP dataplane provide faster networking to their pods,
18
+
without requiring any changes to the applications running in the pods.
13
19
14
-
This integration aims to be as transparent as possible. In particular, the VPP dataplane does not have any additional requirements compared to regular Calico. All the networking configuration, including traffic encapsulation, IP Pools, BGP Configuration, etc. is done through regular Calico means. As a result, the docs present in this repository will only describe the VPP-specific elements.
20
+
This integration aims to be as transparent as possible. In particular, the VPP
21
+
dataplane does not have any additional requirements compared to regular Calico.
22
+
All the networking configuration, including traffic encapsulation, IP Pools,
23
+
BGP Configuration, etc. is done through regular Calico means. As a result, the
24
+
docs present in this repository will only describe the VPP-specific elements.
15
25
16
-
VPP-enabled nodes are entirely compatible with regular Calico nodes - meaning that it is possible to have a cluster with some VPP-enabled nodes and some regular nodes. This makes it easy to migrate a cluster from Linux or eBPF Calico networking to VPP-accelerated networking.
26
+
VPP-enabled nodes are entirely compatible with regular Calico nodes - meaning
27
+
that it is possible to have a cluster with some VPP-enabled nodes and some
28
+
regular nodes. This makes it easy to migrate a cluster from Linux or eBPF
29
+
Calico networking to VPP-accelerated networking.
17
30
18
-
In addition to that, the VPP Dataplane provides some additional features that are not available in Calico. For instance :
19
-
- We support very fast container traffic encryption with IPsec
20
-
- SRv6 is also supported for node to node transport
21
-
- Network intensive applications can also require [memif packet interfaces](https://s3-docs.fd.io/vpp/23.02/interfacing/libmemif/index.html) for optimized user-space networking.
22
-
- Network intensive endpoint applications (using TCP, TLS, UDP, QUIC, ...) can consume the [VPP Hoststack](https://wiki.fd.io/view/VPP/HostStack) with the VPP Client Library [VCL](https://wiki.fd.io/view/VPP/HostStack/VCL)
23
-
- Containerized network functions requiring multiple high speed interfaces can leverage [multinet](docs/multinet.md)
31
+
In addition to that, the VPP Dataplane provides some additional features that
32
+
are not available in Calico. For instance :
24
33
25
-
Finally, our goal is to make the deployment of Calico-VPP as simple as applying a YAML file through kubectl.
34
+
- We support very fast container traffic encryption with IPsec
35
+
- SRv6 is also supported for node to node transport
- Containerized network functions requiring multiple high speed interfaces can
43
+
leverage [multinet](docs/multinet.md)
44
+
45
+
Finally, our goal is to make the deployment of Calico-VPP as simple as applying
46
+
a YAML file through kubectl.
26
47
27
48
## Get Started Using Calico/VPP
28
49
29
-
* Please see our [Getting started page](https://docs.tigera.io/calico/latest/getting-started/kubernetes/vpp/getting-started) for instructions on how to set it up on a cluster.
30
-
* If you want to learn more about Calico, see the documentation on [docs.tigera.io/calico](https://docs.tigera.io/calico).
31
-
* If you have questions, feel free to drop us a line in the [Calico Slack room #vpp](https://calicousers.slack.com/archives/C017220EXU1)
32
-
* Check out [Release notes](RELEASE_NOTES.md)
50
+
- Please see our [Getting started page](https://docs.tigera.io/calico/latest/getting-started/kubernetes/vpp/getting-started)
51
+
for instructions on how to set it up on a cluster.
52
+
- If you want to learn more about Calico, see the documentation on
For technical details about the Calico-VPP integration, see the [VPP dataplane implementation details](https://docs.tigera.io/calico/latest/reference/vpp/technical-details).
60
+
For technical details about the Calico-VPP integration, see the
Before starting, make sure you've read [the Calico contributor guide](CONTRIBUTING.md).
43
68
@@ -47,6 +72,10 @@ Or refer to the [developer documentation in this repository](docs)
47
72
48
73
## License
49
74
50
-
Calico binaries are licensed under the [Apache v2.0 license](LICENSE), with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/calico/tree/master/felix/bpf-gpl/README).
75
+
Calico binaries are licensed under the [Apache v2.0 license](LICENSE),
76
+
with the exception of some [GPL licensed eBPF programs](https://github.com/projectcalico/calico/tree/master/felix/bpf-gpl/README).
51
77
52
-
Calico imports packages with a number of apache-compatible licenses. For more information, see [licenses](https://github.com/projectcalico/calico/blob/master/calico/LICENSE). In addition, the base container image contains pre-packaged software with a variety of licenses.
78
+
Calico imports packages with a number of apache-compatible licenses. For more
79
+
information, see [licenses](https://github.com/projectcalico/calico/blob/master/calico/LICENSE)
80
+
In addition, the base container image contains pre-packaged software with a
Pods use an L3 interface per default (tun interface in VPP). However, we also support having L2 interfaces (tap), via this [annotation](config.md#L99):
3
+
Pods use an L3 interface per default (tun interface in VPP). However, we also
4
+
support having L2 interfaces (tap), via this [annotation](config.md#L99):
4
5
5
-
```yaml
6
+
````yaml
6
7
apiVersion: v1
7
8
kind: Pod
8
9
metadata:
@@ -12,22 +13,25 @@ metadata:
12
13
{
13
14
"eth0": {"isl3": false },
14
15
}
15
-
```
16
+
````
16
17
17
-
This has a known limitation : the linux routing configuration is currently incomplete. A workaround for it is to have a cap admin capability on a privileged container:
18
+
This has a known limitation : the linux routing configuration is currently
19
+
incomplete. A workaround for it is to have a cap admin capability on a
20
+
privileged container:
18
21
19
-
```yaml
22
+
````yaml
20
23
securityContext:
21
24
capabilities:
22
25
add: [ "NET_ADMIN"]
23
-
```
26
+
````
27
+
24
28
and to run these commands on the container to have connectivity:
25
29
26
-
```bash
30
+
````bash
27
31
ip link set dev eth0 down
28
32
ip link set dev eth0 address 02:00:00:00:00:01
29
33
ip link set dev eth0 up
30
34
ip neigh add 169.0.254.1 lladdr 51:53:00:17:34:09 dev eth0
Copy file name to clipboardExpand all lines: docs/README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,10 @@
1
1
# Calico/VPP technical documentation
2
2
3
-
This folder contains Calico/VPP technical documentation. This is this repository's counterpart of the documentation available at [https://docs.tigera.io](https://docs.tigera.io/calico/latest/reference/vpp/technical-details)
3
+
This folder contains Calico/VPP technical documentation.
4
+
This is this repository's counterpart of the documentation
5
+
available at [https://docs.tigera.io](https://docs.tigera.io/calico/latest/reference/vpp/technical-details)
4
6
5
-
It contains developer oriented documentation, details of VPP specific features:
7
+
It contains developer oriented documentation, details of VPP specific features:
0 commit comments