Revision 7303b8a16101b767d2f77ecda5e18b9b083d5a40 authored by Chris Tarazi on 29 March 2022, 18:03:47 UTC, committed by Tobias Klauser on 14 April 2022, 18:45:42 UTC
[ upstream commit 31a5ff1620e7f3b222af0c884351e161e04539cd ] [ Backporter's notes: the tests had to be adapted because the signature of `IPIdentityCache.Upsert` has been changed in c5d4b7efc978ff4ae99f23bee3078f885a94892f in v1.10, which was not backported to v1.9. ] These tests answer the following questions: * What happens if we receive an add/ update event from k8s with a pod that is using the same IP address of an already-gone-pod-but-delete-event-not-received? * What happens if we receive an delete of an already gone pod after we have received an add/ update from a new pod using that same IP address? What these tests confirm is that Kubernetes events that are out-of-order are handled as they're received. Meaning the ipcache doesn't have any special logic to handle for example whether an ipcache delete for a pod X with IP A is the same pod X (by namespace & name) which previously inserted an ipcache entry. Suggested-by: André Martins <andre@cilium.io> Signed-off-by: Chris Tarazi <chris@isovalent.com> Signed-off-by: Nicolas Busseneau <nicolas@isovalent.com>
1 parent 601a76d
File | Mode | Size |
---|---|---|
.github | ||
.travis | ||
Documentation | ||
api | ||
bpf | ||
bugtool | ||
cilium | ||
cilium-health | ||
clustermesh-apiserver | ||
contrib | ||
daemon | ||
envoy | ||
examples | ||
hack | ||
hubble-relay | ||
images | ||
install | ||
jenkinsfiles | ||
operator | ||
pkg | ||
plugins | ||
proxylib | ||
test | ||
tests | ||
tools | ||
vendor | ||
.authors.aux | -rw-r--r-- | 416 bytes |
.dockerignore | -rw-r--r-- | 1.1 KB |
.gitattributes | -rw-r--r-- | 236 bytes |
.gitignore | -rw-r--r-- | 1.3 KB |
.gitmodules | -rw-r--r-- | 0 bytes |
.golangci.yaml | -rw-r--r-- | 3.2 KB |
.mailmap | -rw-r--r-- | 3.6 KB |
.travis.yml | -rw-r--r-- | 1.1 KB |
AUTHORS | -rw-r--r-- | 17.0 KB |
CHANGELOG.md | -rw-r--r-- | 151.4 KB |
CODEOWNERS | -rw-r--r-- | 1.6 KB |
CONTRIBUTING.md | -rw-r--r-- | 227 bytes |
Dockerfile | -rw-r--r-- | 3.0 KB |
Dockerfile.builder | -rw-r--r-- | 1.2 KB |
FURTHER_READINGS.rst | -rw-r--r-- | 4.9 KB |
GO_VERSION | -rw-r--r-- | 8 bytes |
Jenkinsfile.nightly | l--------- | 32 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
MAINTAINERS.rst | -rw-r--r-- | 2.4 KB |
Makefile | -rw-r--r-- | 23.0 KB |
Makefile.buildkit | -rw-r--r-- | 4.1 KB |
Makefile.defs | -rw-r--r-- | 5.6 KB |
Makefile.docker | -rw-r--r-- | 9.6 KB |
Makefile.quiet | -rw-r--r-- | 718 bytes |
README.rst | -rw-r--r-- | 15.7 KB |
SECURITY.md | -rw-r--r-- | 615 bytes |
USERS.md | -rw-r--r-- | 6.1 KB |
VERSION | -rw-r--r-- | 7 bytes |
Vagrantfile | -rw-r--r-- | 12.6 KB |
cilium-dev.Dockerfile | -rw-r--r-- | 1.4 KB |
cilium-dev.Dockerfile.dockerignore | -rw-r--r-- | 931 bytes |
cilium-docker-plugin.Dockerfile | -rw-r--r-- | 645 bytes |
cilium-operator-aws.Dockerfile | -rw-r--r-- | 1.5 KB |
cilium-operator-azure.Dockerfile | -rw-r--r-- | 1.5 KB |
cilium-operator-generic.Dockerfile | -rw-r--r-- | 1.5 KB |
cilium-operator.Dockerfile | -rw-r--r-- | 1.5 KB |
clustermesh-apiserver.Dockerfile | -rw-r--r-- | 1.6 KB |
docs.Jenkinsfile | l--------- | 29 bytes |
flannel.Jenkinsfile | l--------- | 32 bytes |
ginkgo-kubernetes-all.Jenkinsfile | l--------- | 46 bytes |
ginkgo.Jenkinsfile | l--------- | 31 bytes |
go.mod | -rw-r--r-- | 5.3 KB |
go.sum | -rw-r--r-- | 103.0 KB |
hubble-relay.Dockerfile | -rw-r--r-- | 1.4 KB |
kubernetes-upstream.Jenkinsfile | l--------- | 44 bytes |
netlify.toml | -rw-r--r-- | 92 bytes |
vagrant_box_defaults.rb | -rw-r--r-- | 391 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...