-
|
swck listened for the create and update events of PODs, but did not set idempotent in the /mutate-v1-pod interface, which resulted in some scenarios updating PODs (such as adding region/zone annotations), swck will repeatedly execute the injection process, causing PODs to fail to start normally. Wanna to understand the necessity of listenning updating event , even if an update is made, it also need to restart the Java process to make it attach again. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
The behaviors of the agent are defined through the values of system env variables, I believe watching the events makes sense. |
Beta Was this translation helpful? Give feedback.
@lphu I see, thanks for the details. Would you want to propose a PR to achieve the update logic in the webhook?