Closed YuryHrytsuk closed 1 month ago
Possible solution: use docker ansible roles
https://docs.ansible.com/ansible/latest/collections/community/docker/index.html
Check mode support:
docker stacks
After looking at docker ansible playbook, I concluded that it is not worth trying to try to start using them
The same process deploying changes is used for monitoring stata (e.g. terraform plan
and terraform apply
)
--
Based on research I did, there is no easy-to-implement and out-of-the-box solution
The only left items are test docker stack and test docker service which is now done implicitly by testing that our services are accessible by URL and that the platform is up and running. This is why these 2 are WONT DO for time being
Current behavior
We do not verify docker swarm configuration explicitly (exception: docker networks). So, we end up in situation when the
dalco 04
node is commented out ininventory.ini
but is actually an active node of a running Dalco docker swarm cluster.Desired behavior
We verify docker swarm cluster configuration and check that it is in-sync with code (e.g. docker node labels, active nodes)