jianrongzhang89 opened a new pull request, #565:
URL: https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/565

   …native K_SINK injection
   
   **Description of the change:**
   The reason why the ***00001-deployment*** pod gets restarted repeatedly is 
because after K_SINK injection, a new Knative revision has been created, and 
the workflow managed properties configmap has been updated to use the the 
K_SINK environment variable. As such the first deployment ****_00001 has become 
outdated and no longer aligned with the configmap and this causes the repeated 
pod restarting.
   
   The fix is to clean up the outdated Knative revision(s) after the K_SINK 
injection is done (ie, sinkbinding is ready).
   
   **Motivation for the change:**
   To prevent ***00001-deployment*** pod from getting restarted repeatedly.
   
   **Checklist**
   
   - [X ] Add or Modify a unit test for your change 
   - [X ] Have you verified that tall the tests are passing?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to