Move from plain pod definitions to deployments/statefulsets
The plain pod deployments currently present in the Helm setup have several disadvantages. They cannot be properly upgraded, they do not restart when you delete them and they do not scale (not import for now, but maybe in the future).
We can tackle this by ensuring Kubernetes properly manages the container lifecycle by moving towards deployments/statefulsets.
This change on the pods themselves is rather trivial. However, this also requires an update in the tests, as the names for the pods will change (e.g. deployments have a random suffix, so instead of ctacli
, we now would have ctacli-kj54