Metatron Kubernetes Operators in Ruby
summary
An open source Ruby library called Metatron gem pairs with Metacontroller composite controller to let Ruby apps expose a sync endpoint and return desired children as JSON; a 59‑line Ruby controller renders secrets, a StatefulSet and a Service into ~102 lines of JSON, registers a CRD and composite controller, and successfully provisions a MySQL pod reachable from a container. Batteries‑included features include Rack/Puma embedding, eTag support, and reusable resource templates for quick operators.
AI-written summary · about
chapters (13)
- 0:00Metatron and Ruby operators
- 3:46Extending Kubernetes in Ruby
- 8:43Controllers vs operators
- 11:55Metacontroller for operators
- 15:30Metatron features and Ruby
- 18:20Demo setup and Metacontroller
- 20:08Creating a custom resource definition for databases
- 21:11Composite controller with Metacontroller
- 22:36Ruby controller code
- 27:17Testing and deploying operator
- 29:27Verify database deployment
- 30:10Recap and takeaways
- 30:56Q&A
related talks
29mKubernetes Custom Resources with Kubeless and Metacontroller
45mCommandeering Kubernetes With Elixir
48mKUBERNETES EXTENSIBLE MODEL EXPLAINED: CRDS AND OPERATORS
32mKubernetes as a platform for platforms
55mIntroduction to Kubernetes Operators
40mBootiful Kubernetes Operators
26mBuilding Stream Processing Applications with Ruby & Meroxa
46mRuby in the Clouds
