~/talk

Operating Rails in Kubernetes

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails, kubernetes]
slides:none on file

Shopify migrates hundreds of Rails apps, including a large monolith, to Kubernetes and reports concrete practices: migrated hundreds of Rails apps using YAML resource specs (~20–30 lines), a PR-generating bot, and a visibility tool released as the Kubernetes deploy gem. Rails 5.2 credentials plus Kubernetes secrets store keys, migrations run asynchronously via a recurring job applies migrations every 5–10 minutes, and stateful services (Redis/MySQL) remain problematic during pod reschedules.

AI-written summary · about

  1. 0:00Start
  2. 4:19Smart container scheduling for better utilization
  3. 6:46Managing Resources
  4. 9:29Controlling servers vs describing configuration
  5. 11:41The Twelve-Factor app
  6. 13:14Background Jobs
  7. 13:30Long-running jobs
  8. 14:26Abort and re-enqueue
  9. 17:00Migrations as a part of deploy
  10. 18:39Asynchronous Migrations
  11. 19:33Secret Management
  12. 20:01Secrets in a container
  13. 20:19Rails 5.2 Credentials
  14. 22:24Resource specs in YAML
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.