Jairo da Silva Junior

147 points
User profile image.
Fortaleza, Brazil

Developer, speaker at DevOps conferences, open source contributor, occasional writer, and obsessed with tests and automation. Can't live without CLI tools.

Authored Content

Contributed Content

Authored Comments

Thanks. Although it does not have nested attributes, it is possible to define an attribute as a dict. You can check the PR for the example provided or k8s module docs and/or code.

Ansible and Kubernetes serve different proposits, but there are a few overlaps. If you look at k8s' Deployment resource, it already implements several strategies: blue/green, rolling and etc, in a way that verifications are automated (liveness and readiness probes), pods are put behind a load balancer (Service) when they're ready and everything else we covered in the sample deployment playbooks. The main difference is that you need a containerized (preferably cloud native) workload for k8s to benefits from this, while Ansible provides the same capabilities for a wider range of workloads - even legacy.