fleet icon indicating copy to clipboard operation
fleet copied to clipboard

[Question] Post fleet update action

Open olivierACRI opened this issue 2 years ago • 2 comments

Hi,

I would like to perform automated test once Fleet updated my application in the cluster. I am not finding any resources about the possibility to call an API, trigger something after all my pods updated and restarted. So far I can see the following

  1. I am polling the Rancher API to get the state of the deployment. Looks complex and will require to have a process waiting for the deployment. The good point here is that I am having a single pipeline of delivery build->publish->deploy->validate.... and I can make it longer
  2. I am creating a fake pod in addition to my application that will just call the API I want and shutdown. Simple but not elegant from my point of view and breaking my pipeline in pieces.

Regards

olivierACRI avatar Jul 22 '22 07:07 olivierACRI