mgmt config merging config management and monitoring in
play

Mgmt Config: Merging Config Management and Monitoring (in - PowerPoint PPT Presentation

Mgmt Config: Merging Config Management and Monitoring (in real-time) James Shubin, a.k.a. @ purpleidea Config Mgmt. Architect, m9rx (self-funded) FOSDEM, Brussels, Belgium, 03/Feb/2019 1 JAMES SHUBIN Why are these separate? 2 JAMES SHUBIN


  1. Mgmt Config: Merging Config Management and Monitoring (in real-time) James Shubin, a.k.a. @ purpleidea Config Mgmt. Architect, m9rx (self-funded) FOSDEM, Brussels, Belgium, 03/Feb/2019 1 JAMES SHUBIN

  2. Why are these separate? 2 JAMES SHUBIN

  3. 3 JAMES SHUBIN

  4. 4 JAMES SHUBIN

  5. Who am I ? ● Hacker ● Config Mgmt. Engineer ● Technical Blogger: The Technical Blog of James https://purpleidea.com/blog/ ● Physiologist (Cardiology Specialization) ● DevOps believer 5 JAMES SHUBIN

  6. 6 JAMES SHUBIN

  7. Two Demos 7 JAMES SHUBIN

  8. 1) Reactive Resources 8 JAMES SHUBIN

  9. What is this? 9 JAMES SHUBIN

  10. MONITORING 10 JAMES SHUBIN

  11. 2) Reactive Language 11 JAMES SHUBIN

  12. Reactive: demo $y1 = datetime() + $ayear # note the order of the assignment (year can come later in the code) $ayear = 60 * 60 * 24 * 365 # is a year in seconds (31536000) $tmpl = struct{year => $y1, load => $load, vu => $vu, } $load = load() $vu = vumeter("======", 10, 0.9) # symbol, multiplier, peak $f = "Now + 1 year is: {{ .year }} seconds, aka: {{ .year }}\n\n load average: {{ .load }}\n\n vu: {{ .vu }}\n” file "/tmp/mgmt/datetime" { content => template($f, $tmpl), } 12 JAMES SHUBIN

  13. Future work 13 JAMES SHUBIN

  14. Future work Code as you go (non-blockers) ◦ Additional functions in the stdlib ◦ Additional resources (especially “cloud” stuff) New Features ◦ Large file transfers (eg: *.iso, etc...) ◦ Automatic “secrets” (no need for “vault”, etc...) Bugs ◦ Etcd backend re-write (½ done) ◦ Engine core re-write (hopefully a small patch) 14 JAMES SHUBIN

  15. How can you help? 15 JAMES SHUBIN

  16. How can you help? ● Use it ● Test it ● Patch it ● Share it ● Document it ● Star it ● Blog it ● Tweet it ● Discuss it ● Hack it 16 JAMES SHUBIN

  17. hack it 17 JAMES SHUBIN

  18. 18 JAMES SHUBIN

  19. mgmt needs funding 19 JAMES SHUBIN

  20. Patreon.com/purpleidea Funding a hacker is sexy! 20 JAMES SHUBIN

  21. Let's recap... 21 JAMES SHUBIN

  22. 22 JAMES SHUBIN

  23. IRC: #mgmtconfig on Freenode Twitter: @mgmtconfig & #mgmtconfig Mailing list: mgmtconfig-list@redhat.com 23 JAMES SHUBIN

  24. Learn more ● The Technical Blog of James: https://purpleidea.com/blog/ ● Mgmt: https://github.com/purpleidea/mgmt/ ● Engine: https://youtube.com/watch?v=LkEtBVLfygE Lang: https://youtube.com/watch?v=_9PG64AOQ3w ● Technical articles and screencasts about this: https://purpleidea.com/tags/mgmtconfig/ ● Contact me if you have any other questions: purpleidea @ { irc, twitter, github, gmail } 24 JAMES SHUBIN

  25. Learn more: Stuff that you missed from FOSDEM! 25 JAMES SHUBIN

  26. Learn more: Stuff that you missed from FOSDEM! – SATURDAY ● 10:30 – A small, FRP DSL for distributed systems ● 13:30 – Mgmt Config: The Road to 0.1 ● 15:25 – Mgmt Config: A tale of three graphs ● 16:30 – Real-time virtualization automation – SUNDAY ● 12:15 – Container automation and scheduling 26 JAMES SHUBIN

  27. Learn more: More stuff on 04/Feb in Gent See more of purpleidea and Felix Frank! 27 JAMES SHUBIN

  28. Learn more: Hackathon in Gent (Feb 6th) ● 10:00 – Welcome: General questions / Discussion ● 10:30 – Quick Start: Building and running from source ● 11:30 – Function/Resource API: Writing a custom function or resource ● 13:30 – Modules: Writing a new module ● 14:30 – Open hacking and other topics 28 JAMES SHUBIN

  29. Feedback: If you really liked this talk, please take 5 seconds and go up to the organizers and tell them so! 29 JAMES SHUBIN

  30. Free Stickers! If you promise to stick them on your laptops, and show off to your friends! 30 JAMES SHUBIN

  31. 31 JAMES SHUBIN

  32. Thank you & Happy Hacking ! 32 JAMES SHUBIN

  33. Q & A ? 33 JAMES SHUBIN

Recommend


More recommend