This sample is published as part of the corresponding blog article at
https://toptal.com/kubernetes/what-is-kubernetes
Visit https://www.toptal.com/blog and subscribe to our newsletter to read great posts
Rails version: 5.2
Ruby version: 2.5.1
This application was create by executing rails new blog
.
Article
model, controller, views, migrations has been generated by executing: rails g scaffold Article title:string description:text
.
MySQL was used as a DB for production.
The next gems were added to the Gemfile:
group :production do
gem 'health_check'
gem 'mysql2', '< 0.6.0', '>= 0.4.4'
end
Dockerfile has been added also.
Check -kubernetes folder if you want to see how to deploy it to GKE.