https://github.com/cilium/cilium
Revision ae30c5c3babbe9e8322fb1d879445021e703a844 authored by Huagong Wang on 21 September 2023, 06:54:45 UTC, committed by Sebastian Wicki on 03 October 2023, 08:47:48 UTC
Now, it will first check if the pod has annotations
ipam.cilium.io/ipv4-pool or ipam.cilium.io/ipv6-pool;
if so, it will return the pool from the specific IP family.
If these annotations are not present, it will check if
the pod has the annotation ipam.cilium.io/ip-pool, and if
found, it will return the pool as usual. If the pod doesn't
have any annotations, it will then check if the namespace in
which the pod resides has these annotations in the same order.
If neither the pod nor the namespace has these annotations,
it will return the default IP pool.

Signed-off-by: Huagong Wang <wanghuagong@kylinos.cn>
1 parent 809ae2a
History
Tip revision: ae30c5c3babbe9e8322fb1d879445021e703a844 authored by Huagong Wang on 21 September 2023, 06:54:45 UTC
ipam/multipool: Introducing specific IP-family annotations.
Tip revision: ae30c5c
File Mode Size
.devcontainer
.github
.nvim
.travis
.vscode
Documentation
api
bpf
bugtool
cilium
cilium-health
clustermesh-apiserver
contrib
daemon
envoy
examples
hack
hubble-relay
images
install
kvstoremesh
operator
pkg
plugins
test
tools
vendor
.authors.aux -rw-r--r-- 416 bytes
.clang-format -rw-r--r-- 7.6 KB
.clomonitor.yml -rw-r--r-- 984 bytes
.gitattributes -rw-r--r-- 887 bytes
.gitignore -rw-r--r-- 1.8 KB
.golangci.yaml -rw-r--r-- 4.1 KB
.mailmap -rw-r--r-- 6.4 KB
.travis.yml -rw-r--r-- 506 bytes
AUTHORS -rw-r--r-- 44.5 KB
CODEOWNERS -rw-r--r-- 25.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 2.2 KB
CONTRIBUTING.md -rw-r--r-- 691 bytes
FURTHER_READINGS.rst -rw-r--r-- 6.4 KB
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS.md -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 38.8 KB
Makefile.defs -rw-r--r-- 6.9 KB
Makefile.docker -rw-r--r-- 7.3 KB
Makefile.quiet -rw-r--r-- 818 bytes
README.rst -rw-r--r-- 19.6 KB
SECURITY.md -rw-r--r-- 1.0 KB
USERS.md -rw-r--r-- 30.6 KB
VERSION -rw-r--r-- 11 bytes
Vagrantfile -rw-r--r-- 14.9 KB
go.mod -rw-r--r-- 12.2 KB
go.sum -rw-r--r-- 127.5 KB
netlify.toml -rw-r--r-- 92 bytes
stable.txt -rw-r--r-- 8 bytes
vagrant_box_defaults.rb -rw-r--r-- 334 bytes

README.rst

back to top