https://github.com/cilium/cilium
Revision 7cff587a8df35f298d6dacdab7f9554bf83071e9 authored by Tobias Klauser on 05 September 2022, 12:30:02 UTC, committed by Maciej Kwiek on 12 September 2022, 16:13:05 UTC
[ upstream commit 3abbf57b079ddf5ccfd9d1e57f4ef8eadbf9fa98 ]

Under normal circumstances, the agents should keep their own CiliumNode
up to date in the kvstore. In case of an agent restarting or otherwise
failing to renew the lease, the operator's sync logic might take over
and update the key with its own lease. This could lead to problems when
the respective agent comes back up and tries to renew the lease for its
own CiliumNode entry. To prevent this situation, let the operator
k8s->kvstore sync logic for CiliumNodes update the entries without
taking a lease.

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Signed-off-by: Jussi Maki <jussi@isovalent.com>
1 parent 65c8ee9
History
Tip revision: 7cff587a8df35f298d6dacdab7f9554bf83071e9 authored by Tobias Klauser on 05 September 2022, 12:30:02 UTC
operator: update CiliumNode in kvstore without lease
Tip revision: 7cff587
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
tools
vendor
.authors.aux -rw-r--r-- 416 bytes
.clomonitor.yml -rw-r--r-- 181 bytes
.gitattributes -rw-r--r-- 367 bytes
.gitignore -rw-r--r-- 1.5 KB
.golangci.yaml -rw-r--r-- 3.5 KB
.mailmap -rw-r--r-- 5.3 KB
.travis.yml -rw-r--r-- 492 bytes
AUTHORS -rw-r--r-- 29.4 KB
CHANGELOG.md -rw-r--r-- 69.0 KB
CODEOWNERS -rw-r--r-- 1.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 2.2 KB
CONTRIBUTING.md -rw-r--r-- 473 bytes
FURTHER_READINGS.rst -rw-r--r-- 6.4 KB
GO_VERSION -rw-r--r-- 7 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS.md -rw-r--r-- 4.0 KB
Makefile -rw-r--r-- 30.4 KB
Makefile.defs -rw-r--r-- 7.3 KB
Makefile.docker -rw-r--r-- 6.4 KB
Makefile.quiet -rw-r--r-- 818 bytes
README.rst -rw-r--r-- 16.6 KB
SECURITY.md -rw-r--r-- 615 bytes
USERS.md -rw-r--r-- 18.0 KB
VERSION -rw-r--r-- 7 bytes
Vagrantfile -rw-r--r-- 14.8 KB
go.mod -rw-r--r-- 11.1 KB
go.sum -rw-r--r-- 159.7 KB
netlify.toml -rw-r--r-- 92 bytes
stable.txt -rw-r--r-- 8 bytes
vagrant_box_defaults.rb -rw-r--r-- 394 bytes

README.rst

back to top