liuzhenwei
liuzhenwei
Thanks for your comments. Yes, it is a retry-able mechanism, but there are some logical errors in switch statement. The condition in the if statement is always false at the...
I implemented this in my own environment and the result is shown below: Annotations: ``` apps.kruise.io/inplace-update-containers-restart-count: '{"nginx":{"revision":"sample-d97f89dcf","restartCount":1,"timestamp":"2022-03-24T08:03:23Z"},"sidecar":{"revision":"sample-d97f89dcf","restartCount":1,"timestamp":"2022-03-24T08:03:23Z"}}' apps.kruise.io/inplace-update-pod-restart-count: "2" ``` `apps.kruise.io/inplace-update-pod-restart-count`: The Pod restart count. `apps.kruise.io/inplace-update-containers-restart-count`: Every container restart count...
/assign @fei-guo
Thanks for your reply. @jizhuozhi I agree with you, just like the code below, we need to make a judgment before printing the log: ``` if log.DefaultLogger.GetLogLevel() >= log.DEBUG {...
Is kruise-daemon running successfully on all nodes?
This is my workaround: #1303 @zmberg PTAL
Thank you for your prompt reply。@afbjorklund In kubelet, It starts the container through the following steps: // * pull the image // * create the container // * start the...