17:07:08 #startmeeting ansible-container 17:07:08 Meeting started Mon Jan 15 17:07:08 2018 UTC. The chair is chouseknecht. Information about MeetBot at http://wiki.debian.org/MeetBot. 17:07:08 Useful Commands: #action #agreed #halp #info #idea #link #topic. 17:07:08 The meeting name has been set to 'ansible-container' 17:07:21 DAMMIT, ZODBOT RESPECT MAH AUTHORITAY 17:07:52 I had to scroll back forever to see the last meeting, and how to activate the thing 17:08:00 It's been awhile 17:08:10 happy new year 17:09:12 chouseknecht: Agenda? 17:09:23 I don't have anything specific 17:09:31 We have a presentation in Brno 17:09:47 Possibly dinner Wed evening in Brno as well 17:10:07 j00bar: remember to: #chair chouseknecht 17:10:11 (and anyone else) 17:10:15 And... I put a proposal out there for re-writing the deployment bits 17:10:17 then you can all do #info, #topic, etc 17:10:25 #chair chouseknecht 17:10:25 Current chairs: chouseknecht 17:10:31 So formal! 🙄 17:10:32 #chair j00bar 17:10:32 Current chairs: chouseknecht j00bar 17:10:48 #topic Brno AC presentation 17:11:00 there. we have a topic 17:11:06 and chairs 17:11:30 * j00bar sits in his chair 17:11:34 haha 17:11:46 do i get a #gavel too? 17:12:06 * chouseknecht passes j00bar a gavel 17:12:31 j00bar: are you still on board with doing the intro and a build demo? 17:13:04 I am. 17:13:11 cool 17:13:17 We might even be able to do some really cool shit. 17:13:21 whoa 17:13:24 like wha? 17:14:07 I've been playing with the CDK. There's a couple of really neat items I found. 17:14:26 go on... 17:15:09 The neatest one I found is oc rsync 17:15:32 I've been struggling to figure out how a dev workflow might operate with minishift/cdk on the desktop without having to rebuild images every time with a code change 17:15:36 oc rsync is it 17:16:29 oc rsync $PWD/ $(oc get pods -l app=$APP_NAME -o name | cut -f2 -d/): -w --progress 17:18:17 o 17:18:31 you know that just uses local rsync, right? 17:18:35 Yes, I know. 17:18:57 we need fix the synchronize plugin to work with the new connection plugins. 17:19:28 But set the app server to reload on code changes, set your IDE to run that in a terminal or to do continuous deployment (without the -w flag) - and your local openshift updates without rebuilds 17:19:28 don't know if it makes it easier, or not, but there is an `oc` connection plugin that wraps the `oc` binary. 17:19:49 yeah, that makes sense. 17:20:05 Like we talked about last week, we should genericize the container connection plugin and then implement concrete subclasses for docker, oc, kubectl, runc, etc. 17:20:53 oc subclasses kubectl, but i didn't get into modifying docker. 17:21:56 If you take the docker connection plugin and abstract out the list of commands needed for exec like ['docker', 'exec', '-i', '-t'] and let subclasses overwrite that, you're 90% of the way there, I'd imagine. 17:21:56 they already subclass the base connection class, but what you're saying probably makes sense. 17:22:42 Anyway, tomorrow I'm going to do work on a-c - there are a couple of bugfixes with my incursion before xmas that still need to get done. 17:22:46 just not really wanting to break everything, and code freeze for 2.5 is on Monday, I believe. 17:22:55 Yeah, this is 2.6 timeline. 17:23:48 And I probably won't be on this mtg next week, as I'll be getting ready to put the ❄️ brrrr! ❄️ in Brno. 17:24:25 wha? are you spending the day packing your suitcase? 17:24:30 No. Flying. 17:24:36 o. 17:24:39 It may or may not be during a layover. Depends how the dice roll. 17:24:51 Oh, forgot the timezone change. Looks like I'll be around. 17:25:31 #topic Proposal for deploy 17:26:32 j00bar: any thoughts, concerns, comments on https://github.com/ansible/ansible-container/pull/850 17:27:37 What's the benefit, in your mind? 17:28:09 First benefit, is using new modules 17:28:24 Second benefit, non-monolithic playbook 17:28:59 Third benefit, k8s configs separate from playbook, in case you just want those 17:30:02 Sounds good - my request might be to consider the architecture of the deploy backend implementation to make it easier to implement an APB backend. 17:32:15 ummm.... 17:32:38 I don't know what that means 17:33:08 Well, I imagine to output this, you're going to need code to generate different roles for each operation, right? 17:33:24 yes 17:33:57 i was thinking at some future point that a deploy artifact could be an APB 17:34:22 so maybe what you're saying is it might be time to examine that 17:34:24 So if we generalize the codepath to implement each operation, each outputting "something", then that codepath could be re-leveraged somewhat easily to deploy an APB, which would need a separate playbook for each operation. 17:34:40 yes 17:34:44 I'm just saying keep an eye on where we want to be in the future to set ourselves up to do it more easily. 17:34:56 that makes sense 17:36:30 does APB handle a multi container app? it must. i feel like all the examples i've seen are single container apps. 17:37:09 that may be only because it's easier to show a simple, one container thing in a basic demo. i dunno. 17:38:10 i'll poke at that later today, and get understanding of what goes into an APB. I know the methods it has playbooks for are bind, unbind, provision, deprovision and list. 17:38:27 so i can certainly start from that 17:39:57 ttomecek: you around? 17:41:17 I don't have anything else. 17:41:29 j00bar: you got anything else? 17:42:33 Sorry - switched tabs 17:42:48 Please do poke, yes. 17:43:04 I'd love to have a hackathon in Brno if everybody can clear their schedules. 17:43:42 Maybe Thursday at RH offices? 17:43:49 We'll have all that energy and optimism from the night before. 17:52:06 chouseknecht: ? 17:52:37 j00bar: are you organizing a hackathon? 17:53:15 maybe gage the level of optimism. 17:55:04 chouseknecht: ah sorry, I'm here too 17:55:08 alright. i gotta run to another meeting. 17:55:15 fabianvf: hey! 17:55:42 fabianvf: just noticed they moved the client-python repo to kubernetes-client org 17:55:51 I'll put it on a calendar. 17:56:05 chouseknecht: ah, interesting 17:56:48 https://github.com/kubernetes-client/python 18:03:25 chouseknecht: I have it on my list to talk with the kube client people about the dynamic approach 18:03:43 though I'm pretty bogged down with 3.9 bugs atm 18:32:07 sorry. had to hop to another meeting. 18:32:11 back/ 18:32:13 back 18:32:29 i guess we can end the container meeting... 18:32:33 #endmeeting