Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pull Request Replication Controller

riita10069
October 21, 2021

Pull Request Replication Controller

https://mercari.connpass.com/event/227024/
で発表しました。

アーカイブはYouTubeから見れます!
https://www.youtube.com/watch?v=u5Eq-uJBvzg

ちなみに、TLA+チートシートは以下
https://zenn.dev/riita10069/articles/bc689cae1c7bc0

riita10069

October 21, 2021
Tweet

More Decks by riita10069

Other Decks in Technology

Transcript

  1. GitHub Open Close kube-github operator Kubernetes Deployment WebHook WebHook Create/Update/Delete

    Virtual Service Pull Request Repository Repository PRRC Correspond
  2. #3 #3 #1 #2 GitHub WebHook mercari/Repository1/#3’ Repository1 GitHub WebHook

    mercari/Repository1/#3’’ Updated!! #3’’ #1 #2 Repository1 Updated!! #3’ #1 #2 Repository1
  3. https://cloudark.medium.com/kubernetes-custom-controllers-b6c7d0668fdf Informer is a component which monitors object changes 


    and stores data in a thread-safe in-memory cache. Lister is a component which gets list of resources.
  4. $ gomockhandler -config=/path/to/gomockhandler.json -source=foo.go -destination=./mock/ Configuring a new mock $

    gomockhandler mockgen Generate mock $ gomockhandler check Verify the mock is up to date