Repository navigation
Want to understand the behavior of k3s restart #11845
Replies: 1 comment 3 replies
|
This is just how the kubelet works. It will send a CREATE request, and the apiserver will respond with a conflict error because it already exists, containing the existing resource. This is more efficient than doing a GET, and then sending a CREATE if the resource does not exist. This is a common pattern in Kubernetes. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue
I recently set up a
ValidatingWebhookfor thenoderesource and thecreateoperation. However, every time I restart the K3s server, my webhook receives aCREATEoperation request for server only. Can you help me understand this behavior, @brandond? thanks :)All reactions