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. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue
I recently set up a
ValidatingWebhook
for thenode
resource and thecreate
operation. However, every time I restart the K3s server, my webhook receives aCREATE
operation request for server only. Can you help me understand this behavior, @brandond? thanks :)Beta Was this translation helpful? Give feedback.
All reactions