Friday, 2021-07-02

opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: wip: Loadbalancers reconciliation  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79890406:05
digitalsimboja@maysams, @ltomasbo: I got your reviews on the utility function to retrieve all CRDs from kubernetes,06:23
digitalsimbojaI think we need to make it generic?06:23
digitalsimbojairrespective of namespaces?06:23
ltomasbodigitalsimboja, the utils function is ok if it has both options (all CRDs in a namespace, and all in all namespaces), but from the loadbalancer handler you should retrieve all, for all namespaces06:47
ltomasbodigitalsimboja, and, in case you missed my other comment, the code should be merge with the other existing one for the kuryrnetworkpolicy_crds, to avoid code repetition06:47
digitalsimbojaokay got it06:52
ltomasbodigitalsimboja, I'm reviewing the new patch at the moment06:52
digitalsimbojathe reconciliation timing can be agreed later on, I suggest06:53
digitalsimbojaGreat!06:53
ltomasbodigitalsimboja, wait a minute and you will see there more comments06:53
digitalsimbojaSure06:53
ltomasbodone06:53
digitalsimbojachecking06:58
maysamsdulek: gryf: Hello folks, when you have some spare time, it would be great to have your thoughts on the diagrams being proposed here10:30
maysamshttps://review.opendev.org/c/openstack/kuryr-kubernetes/+/79806410:30
maysamsspecially with regards to the watcher, if it makes sense to have in the diagram10:31
maysamsltomasbo: ^10:32
digitalsimbojaHello!11:33
digitalsimboja@maysams, @ltomasbo: Regarding a situation where there is crds to reconcile?11:33
digitalsimbojaI believe I need an if statement to make this check?11:34
digitalsimbojaThen I am thinking of using a for loop to reconcile each KuryrLoadBalancer CRD?11:36
ltomasboright, you need to figure out what CRDs need reconciliation, and reconcile the ones that need it11:37
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: wip: Loadbalancers reconciliation  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79890411:45
digitalsimbojaI shall work on the reconciliations now before the utility function11:46
maysamsdigitalsimboja: one extra thing, please always add the reference to this blueprint in the commit message https://blueprints.launchpad.net/kuryr-kubernetes/+spec/reconcile-openstack-resources-with-k8s11:50
maysamsto easily track what patches added support to this feature11:51
digitalsimbojaOkay12:05
digitalsimbojaNow I have the challenge of getting the CRDs name, I am thinking of the best way to achieve this12:27
digitalsimboja1. If I get the CRD 'id and the 'name' together12:27
digitalsimbojaI could pass only the name for the actual reconciliation12:27
digitalsimbojaI don't know if that line of thought is cool @ltomasbo, @maysams?12:28
ltomasbodigitalsimboja, you have the funciont to get all the kuryrloadbalancer_crds... so that includes their names12:31
ltomasboyou just need to retrieve the information from there12:32
ltomasboyou can use a dict, a tuple... depending on how you want to do it12:33
digitalsimbojaGot it!12:36
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: wip: Loadbalancers reconciliation  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79890415:01
digitalsimboja@ltomasbo, @maysams: Now I have the crds to be reconciled in a list of tuples15:07
digitalsimbojaI would now focus on the reconcilitaion implementation15:07
ltomasbodigitalsimboja, great!15:08
maysamsdigitalsimboja, cool15:21
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: wip: Loadbalancers reconciliation  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/79890419:06

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!