*** Osso has quit IRC | 00:01 | |
*** techdragon has quit IRC | 00:50 | |
*** techdragon has joined #circuits | 00:55 | |
kdb | Yo techdragon | 00:55 |
---|---|---|
*** fUD has joined #circuits | 01:46 | |
*** fUD has quit IRC | 01:50 | |
*** fUD has joined #circuits | 02:47 | |
*** fUD has quit IRC | 02:51 | |
*** Workster has quit IRC | 03:10 | |
*** Workster has joined #circuits | 03:31 | |
*** Workster has quit IRC | 03:31 | |
*** Workster has joined #circuits | 03:31 | |
*** fUD has joined #circuits | 04:48 | |
*** fUD has quit IRC | 04:52 | |
*** fUD has joined #circuits | 06:48 | |
*** fUD has quit IRC | 06:53 | |
*** Workster has quit IRC | 07:14 | |
*** Workster has joined #circuits | 07:17 | |
*** fUD has joined #circuits | 08:31 | |
prologic | aye fUD | 08:33 |
prologic | gonna try and write a script to do something along the lines int his issue: https://github.com/docker/compose/issues/1663 | 08:34 |
fUD | I didn't even relise I was on here. Let me take a look see. | 09:04 |
*** robert_|disconne has quit IRC | 09:04 | |
*** robert_|disconne has joined #circuits | 09:04 | |
kdb | Welcome back robert_|disconne :) | 09:04 |
fUD | prologic: Are you going to dabble with some Go? | 09:06 |
fUD | Oh no, it's all python | 09:06 |
prologic | fuck no :0 | 09:08 |
prologic | haha | 09:08 |
prologic | :) | 09:08 |
*** Workster has quit IRC | 09:08 | |
prologic | but yeah I think the two hardest things will be | 09:08 |
prologic | a) verify the connections have drained | 09:08 |
prologic | b) remove from hipache | 09:08 |
prologic | well with b I did write hipachectl | 09:08 |
prologic | so *meh* | 09:08 |
prologic | should be easy enough | 09:08 |
fUD | :) | 09:09 |
prologic | I *might* just do this as an "upgrade" image/container though | 09:09 |
*** Osso has joined #circuits | 09:09 | |
kdb | Welcome back osso :) | 09:09 |
prologic | something like: | 09:09 |
prologic | docker run --rm --link hipache -e SERVICES="web" -v /var/run/docker.sock:/var/run/docker.sock prologic/upgrade | 09:10 |
prologic | or maybe make the "services" to upgrade an argument to the entrypoint/script | 09:10 |
prologic | either/or or both | 09:10 |
fUD | If only I knew what that line ment completely. | 09:11 |
prologic | ok | 09:11 |
prologic | run a new container from prologic/upgrade image | 09:11 |
prologic | remove it when it's done (--rm) | 09:11 |
prologic | link in hipache container/service (--link) | 09:11 |
prologic | bind mount the docker unix socket (-v) | 09:12 |
fUD | So it's not doing much more that it would be now, kind of a transparent upgrade? | 09:12 |
prologic | to test/verify I'm going to hie apache bench (ab) at a simple "hello world" web service whilst I upgrade it to a newer version | 09:12 |
fUD | I mean from the command line it'd not doing much more, but behind the scenes a lot different. | 09:12 |
prologic | make sure no packets drop :) | 09:12 |
prologic | *nods* | 09:13 |
fUD | Wow, sounds like a tough problem to tackle... | 09:13 |
prologic | bah fiddle sticks :) | 09:13 |
prologic | see if I can't knock it over tonight :) | 09:13 |
fUD | Without dropping packets? | 09:14 |
prologic | $ dke prologic_hello_1 ss -tapn | 09:14 |
prologic | State Recv-Q Send-Q Local Address:Port Peer Address:Port | 09:14 |
prologic | LISTEN 0 0 *:80 *:* | 09:14 |
prologic | already 1/4 way there :) | 09:15 |
prologic | one part solved | 09:15 |
fUD | haha where is your gist of docker shortcuts again? | 09:15 |
fUD | ;P | 09:15 |
prologic | yeah so same as what we do now really | 09:15 |
prologic | ahh | 09:15 |
prologic | I put it in a snippet on our bibtukce taccount | 09:15 |
fUD | heh, I'll look there. | 09:15 |
prologic | $ gister < .profile.d/docker | 09:16 |
prologic | https://gist.github.com/c9e7fd4da8f6114ebb53 | 09:16 |
prologic | but here you go too | 09:16 |
fUD | You don't use zsh at home? | 09:16 |
fUD | Cheers. | 09:16 |
prologic | so this "upgrade" container/services will rely on two things I guess | 09:16 |
prologic | hipache (the load balancer) | 09:16 |
prologic | and ss being available in the image/container being upgraded | 09:16 |
prologic | I guess I *should* cal this thing | 09:16 |
prologic | autodock-upgrade | 09:16 |
prologic | no i don't :) | 09:17 |
prologic | I use bash pretty much | 09:17 |
prologic | I have no need for anything fancier :) | 09:17 |
prologic | bbs have to do some tidying up around the house | 09:17 |
prologic | :) | 09:17 |
fUD | That is true, bash is simple. | 09:18 |
spaceone | zsh makes things easier | 09:18 |
spaceone | as shell | 09:19 |
spaceone | not a script-thing | 09:19 |
fUD | That is true a lot of cool commands. | 09:19 |
fUD | Such as cd'ing without needing cd I noticed the other day | 09:19 |
*** Workster has joined #circuits | 09:26 | |
prologic | tbh I've never really usd zsh :) | 09:38 |
prologic | http://stackoverflow.com/questions/43321/worth-switching-to-zsh-for-casual-use | 09:40 |
prologic | hmm | 09:40 |
prologic | there's a reason I've never picked i up :) | 09:40 |
prologic | sorry spaceone :) | 09:40 |
spaceone | TL;DR | 09:57 |
prologic | hmm? | 10:06 |
*** fUD has quit IRC | 10:20 | |
*** fUD has joined #circuits | 11:16 | |
*** Workster has quit IRC | 11:17 | |
*** fUD has quit IRC | 11:47 | |
*** Osso has quit IRC | 13:04 | |
*** Osso has joined #circuits | 13:10 | |
loans | prologic: fish <3 http://fishshell.com/ | 13:18 |
*** Coldblackice has quit IRC | 13:26 | |
*** fUD has joined #circuits | 13:42 | |
*** fUD has quit IRC | 13:47 | |
*** techdragon has quit IRC | 14:43 | |
*** techdragon has joined #circuits | 14:46 | |
*** techdragon has quit IRC | 14:50 | |
*** techdragon has joined #circuits | 14:51 | |
*** fUD has joined #circuits | 15:43 | |
*** fUD has quit IRC | 15:48 | |
*** fUD has joined #circuits | 19:44 | |
*** fUD has quit IRC | 19:49 | |
*** Coldblackice has joined #circuits | 20:04 | |
kdb | Welcome back coldblackice :) | 20:04 |
prologic | loans, thanks I think I've seen fish once before :) | 21:09 |
loans | fish is fantastic | 21:10 |
prologic | I might try it out :) thanks | 21:16 |
prologic | hehe | 21:16 |
prologic | how's kdb and logging going? good? | 21:16 |
loans | actual application is somewhat stalled, i think the bot's still running in my test channel | 21:17 |
loans | dutifully making empty logs | 21:17 |
prologic | application is stalled? | 21:20 |
loans | application ie the thing i wanted to do with it | 21:22 |
loans | political and technical stall | 21:22 |
prologic | oh I see | 21:23 |
prologic | bummer :) | 21:23 |
*** fUD has joined #circuits | 21:45 | |
*** fUD has quit IRC | 21:50 | |
*** Osso has quit IRC | 23:40 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!