Slides from my talk that demonstrates the challenges, difficulties, discoveries and joys of building an CI/CD for staging environments using Docker, Kubernetes, Github, Slack, AWS, Terraform and SaltStack. From the opening of a pull request to a running environment, how our process at Autobutler is provisioning and running staging environments using containers.
8. 2º Step: Cloud Provisioning
+ KOPShttps://github.com/kubernetes/kops
(Network, Postgresql, Salt Master, Salt Minion)
9. 3º Step: From code to K8S
https://Pull Request
Dynamic URLs
10. Challenges / Solutions
■ Developers don't wanna learn shell commands / CD + Github integration
■ Where should I host my docker images? / Docker Cloud Private Registry
■ Docker building time / Base image for gems initial install
■ Database Isolation per deployment / Reuse or on-demand
■ AWS - K8S Cluster CPU and RAM Usage / Ops Microservices - Garbage collector