Skip to content

spidernet-io/cilium-chaining

Repository files navigation

Cilium-chaining

Cilium-chaining is a project based on cilium, It runs in cni-chaining-mode and works primarily with IPvlan. It can provide some the following capabilities for Spiderpool:

  • Kubernetes network policy
  • Observability
  • Kube-proxy replacement
  • Bandwidth

This project is inspired by terway, Thanks for the great works 👍.

How to use it

You can use kubectl or helm install it. For example, refer to the following command:

Kubectl:

kubectl apply manifests/cilium-chaining.yaml -n kube-system

Helm:

helm install cilium-chaining charts/cilium-chaining -n kube-system

Note:

  • You need to make sure that your node's kernel version is at least greater than 4.19.
  • Your cluster should be an underlay cluster, and do not install cilium.

You will see cilium-chaining pod is running in your cluster:

kubectl  get po -n kube-system | grep cilium-chaining
cilium-chaining-24fsl                    1/1     Running     0              55s
cilium-chaining-hsct6                    1/1     Running     0              54s

Build

You can use the following command to build test image on your local:

make image