How to control services in Container Apps for Chaos Engineering?

Giuseppe Lacagnina 26 Reputation points
2022-10-11T08:33:13.61+00:00

As far as I know, Chaos Studio does not currently support Container Apps (they are not listed among possible Targets).

I am running services in Container Apps and I want to be able to stop, restart them and similar things for Chaos Engineering experiments.

I have been suggested to use workarounds like revision control but I do not like them because the possibilities are quite limited. For instance, restarting a revision does not give any control over how long the service will be down.

The basic capability I am looking for is a controlled stop/restart of a service. Deleting the whole resource does not seem a very good idea to me.

Any suggestions? Thanks in advance.

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
325 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MughundhanRaveendran-MSFT 12,446 Reputation points
    2022-10-19T07:08:46.61+00:00

    @Giuseppe Lacagnina ,

    You could use the activate/deactivate the revision capability:

    You will be able to control the stop/start of all instances of a revision. Please look into the below article
    https://video2.skills-academy.com/en-us/rest/api/containerapps/container-apps-revisions/deactivate-revision?tabs=HTTP