fleet
fleet copied to clipboard
[Question] Post fleet update action
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
- 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
- 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