~/talk

Building the Dragonfly Operator from Scratch

Talkat KubeDay India 2023 · on Friday, 2023-12-08· [databases, kubernetes]
slides:none on file

Builds an operator with Kubebuilder that runs Dragonfly as an onDelete StatefulSet, exposes a Service, and maintains cluster topology with two reconcilers: one that creates StatefulSets/Services from a Dragonfly CR and one that watches Pod events to run Redis commands via the redis-go client. Uses role=master/role=replica labels, automatic failover of a 2-replica setup works in the demo, and rolling upgrades preserve data by promoting replicas before deleting masters.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Dragonfly needs Kubernetes
  3. 3:32Helm chart limits for DBs
  4. 4:57Goals of Dragonfly operator
  5. 7:43How Kubernetes operators work
  6. 9:47Custom resource definitions
  7. 11:56Operator architecture & reconcilers
  8. 12:20Demo: install Dragonfly operator
  9. 15:13Dragonfly reconciler demo
  10. 18:47Interacting with Dragonfly
  11. 19:32Master-replica failover
  12. 21:16Pod lifecycle reconciler
  13. 22:21Pod lifecycle logic walkthrough
  14. 25:32Operator-managed upgrades
  15. 26:15Live upgrade demo
  16. 30:11Upgrade strategy & persistence
  17. 31:14Closing
~/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.