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

back to top