Quintype Deployment Automation and Auto-Scaling on Kubernetes
Submitted by Tribuvan Kumar (@tribu) on Wednesday, 15 February 2017
Full talk of 40 mins duration
At Quintype, we have been running Kubernetes in production for more than 20 months now. This talk will briefly cover the main concepts of kubernetes followed by how we leverage Kubernetes at Quintype, how “production ready” it is, and the pros and cons in our use case. I will also present our deployment architecture and how it leverages concepts of blue-green and rolling deployment and auto-scaling
- Pods - Replication Controllers - Services - Namespaces
Deploying the Cluster:
We use terraform and chef to provision and configure our cluster.
All instances in the cluster - master, minions and etcd run on Ubuntu and has proven to be very stable.
We do Kubernetes major version upgrades by doing rolling upgrade for the master and etcd cluster but creating a whole new cluster(blue-green) of minions and migrating the apps to it. (Terraform makes this easy!)
Deploying pods using Black-Knight:
Kubernetes is a great tool to run (Docker) containers in a clustered production environment. There are also a few things that Kubernetes doesn’t solve though. When deploying often to a production environment we need fully automated deployments, which makes it possible to deploy without any downtime. We also need to handle external HTTP requests and SSL offloading. This requires integration with a load balancer like Ha-Proxy.
- Auto-Scaling Containers - Auto-Scaling minions
- Prometheus - Sysdig
Laptop for presenting slides
Tribhuvan K Jain
Expert level DevOps engineer, currently working as Director of DevOps at Quintype. Has worked primarily as operations engineers for over 12 years in Bay Area and Bangalore at various capacity mostly in startup environment.