Skip to content

Commit

Permalink
Add calico reserved bits
Browse files Browse the repository at this point in the history
Calico by default reserves a set of 16 bits for packet marks that must not conflict with kubernetes' kube-proxy marks. The reserved mask can be changed with a configuration option but it's usually left unchanged. The mask should have from 8 to 16 bits depending on kube-proxy's configuration.

Reference: `IptablesMarkMask` config in https://docs.projectcalico.org/reference/felix/configuration
  • Loading branch information
cezarsa authored and danderson committed Jul 22, 2020
1 parent 87922f9 commit 05f2287
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ that people are likely to search for.
| 11 | 0x800 | [Cilium][cilium] |
| 14 | 0x4000 | [Kubernetes][k8s] |
| 15 | 0x8000 | [Kubernetes][k8s] |
| 16-31 | 0xFFFF0000 | [Calico][cal] |
| 17 | 0x20000 | [Weave Net][weave] |
| 18 | 0x40000 | [Tailscale][ts] |
| 19 | 0x80000 | [Tailscale][ts] |
Expand All @@ -39,6 +40,7 @@ that people are likely to search for.
[k8s]: https://kubernetes.io/
[ts]: https://www.tailscale.com/
[weave]: https://www.weave.works/oss/net/
[cal]: https://docs.projectcalico.org/reference/felix/configuration

## Non-Bitwise Mark Registry

Expand Down

0 comments on commit 05f2287

Please sign in to comment.