Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Perry Shuman
    @Noirbot_twitter
    Probably just something weird with the networking
    Jesse White
    @anonymuse
    @Noirbot_twitter you're using the cloud instances or PWD?
    Perry Shuman
    @Noirbot_twitter
    cloud
    Jeff Andolora
    @andolojm
    I fell behind a bit. I'm on slide 180, getting composefile.yml not found. What directory am i supposed to be in?
    Perry Shuman
    @Noirbot_twitter
    stacks
    baldmageix
    @baldmageix
    ~/orchestration-workshop/stacks
    Jeff Andolora
    @andolojm
    thanks
    Perry Shuman
    @Noirbot_twitter
    ~/orchestration-workshop/stacks
    Jesse White
    @anonymuse
    @danmikita -- we generally see people run different swarms between environments such as dev, stage, prod.
    You can run a single large swarm across multiple environments, but I wouldn't recommend it at this time given the maturity of the management tools, namespacing included.
    dpantke
    @dpantke
    Looks like my registry lost track of the image:
    1/1: No such image: localhost:5000/dockercoins_webui:v0.2
    mcmiv413
    @mcmiv413
    What is the advantage of using rollback instead of deploying the previous version?
    Yami
    @yamikuronue
    did you build againa fter we tore down and rebuilt the registry?
    dpantke
    @dpantke
    Yeah, I had the old version running...
    Jesse White
    @anonymuse

    @dpantke -- what images are available if you list the images available to you?

    docker image ls

    Yami
    @yamikuronue
    can you have more than one healthcheck on a container in Swarm?
    Jesse White
    @anonymuse
    @mcmiv413 -- seems to be close to the same end product with a different path to get there.
    dpantke
    @dpantke

    ```127.0.0.1:5000/webui v0.2 a1df23617220 6 minutes ago 216MB
    dockerswarmvisualizer_viz latest 19538fd0cabc About an hour ago 148MB

    <none> <none> c75775f5d156 About an hour ago 151MB
    127.0.0.1:5000/webui latest 1a42fb86abf7 2 hours ago 216MB
    127.0.0.1:5000/webui v1 1a42fb86abf7 2 hours ago 216MB
    dockercoins_webui latest 1a42fb86abf7 2 hours ago 216MB
    127.0.0.1:5000/rng latest e781dc5085ca 2 hours ago 99.4MB
    127.0.0.1:5000/rng v0.2 e781dc5085ca 2 hours ago 99.4MB
    127.0.0.1:5000/rng v1 e781dc5085ca 2 hours ago 99.4MB
    dockercoins_rng latest e781dc5085ca 2 hours ago 99.4MB
    127.0.0.1:5000/hasher latest 017bcbf2b2f9 2 hours ago 228MB
    127.0.0.1:5000/hasher v0.2 017bcbf2b2f9 2 hours ago 228MB
    127.0.0.1:5000/hasher v1 017bcbf2b2f9 2 hours ago 228MB
    dockercoins_hasher latest 017bcbf2b2f9 2 hours ago 228MB
    127.0.0.1:5000/worker latest 8beecb43367b 2 hours ago 97.4MB
    127.0.0.1:5000/worker v0.2 8beecb43367b 2 hours ago 97.4MB
    127.0.0.1:5000/worker v1 8beecb43367b 2 hours ago 97.4MB
    dockercoins_worker latest 8beecb43367b 2 hours ago 97.4MB
    ruby alpine 9fa924a8a027 6 days ago 57.1MB
    redis latest b6dddb991dfa 10 days ago 107MB
    registry <none> 28525f9a6e46 13 days ago 33.2MB
    node 4-slim 7a3bab58875f 2 weeks ago 210MB
    python alpine 294201c0731f 2 weeks ago 88.8MB
    alpine <none> 76da55c8019d 2 weeks ago 3.97MB
    127.0.0.1:5000/busybox latest 54511612f1c4 2 weeks ago 1.13MB
    busybox latest 54511612f1c4 2 weeks ago 1.13MB
    elasticsearch <none> 6208a3b31b7e 3 weeks ago 573MB
    node 8.2.1-alpine 442930c9c9fb 2 months ago 64.6MB
    ```

    Jesse White
    @anonymuse
    I'd do whatever's fastest
    dpantke
    @dpantke
    Somehow, I ended up with a prefix of dockercoins
    Jesse White
    @anonymuse
    @yamikuronue -- no, a single health check the current functionality.
    Dan McCracken
    @mccrackend
    @yamikuronue I'd probably bake in the extra health checks into the one endpoint /health
    dpantke
    @dpantke
    That's not in the new version that I updated to.
    mcmiv413
    @mcmiv413
    @anonymuse Thanks :-)
    Yami
    @yamikuronue
    @mccrackend yeah that's what we do under Cattle today, but it's a taks and a half to get the devs to build them
    Jesse White
    @anonymuse
    That's what I would recommend as well @mccrackend . I see people creating "ready" and "live" functionality into their health endpoints and then using their applications to manage when a microservice is up and running (but not able to accept traffic, so 5xx of some sort), and then up with dependencies met and ready to serve traffic (gives a 200).
    @yamikuronue -- good health checks are so important but yes so hard to get right!
    especially in microservices land. it's an art really.
    Dan Mikita
    @danmikita
    @yamikuronue Not sure what stack your using, but there are usually frameworks that you can just add to your dependency tree. Such as Actuator in Spring.
    Yami
    @yamikuronue
    I literally provide a Hapi plugin that handles healthchecks based on a config for them, and they still aren't using it lol
    Dan McCracken
    @mccrackend
    @yamikuronue Am dev. Can confirm we don't like doing work XD jk
    Matt Chesler
    @mchesler
    YAML in, JSON out? -5 points for consistency...
    doceallaigh
    @doceallaigh
    So could you manually edit the previous spec and trick docker into updating to a new spec on rollback?
    Dan McCracken
    @mccrackend
    Need to make devs somewhat accountable for the ops. Then they'll write better healthchecks.
    Jesse White
    @anonymuse
    @doceallaigh -- where would you edit the spec?
    @mccrackend -- that's the idea!
    Yami
    @yamikuronue
    yeah... still working on that part :D @mccrackend
    we're six months in to trying to swallow agile + devops all in one go. It's frustrating but we're making progress
    Steve Huff
    @hakamadare
    @anonymuse a bit of a bug in the slides: if we’ve been doing everything as directed, we previously ran export TAG=v0.2
    in this case Bret expects us to not have $TAG set and so it should default to latest
    Dan Mikita
    @danmikita
    @anonymuse Git repo for all Stack yaml --> 1 branch per environment --> deamon running to check for new commits --> new commit executes the docker command for deploying the new file(s)
    Yami
    @yamikuronue
    code it live, that always works!
    Jesse White
    @anonymuse
    Thanks @hakamadare -- I'll collect that feedback to fix in the slides.
    Steve Huff
    @hakamadare
    :thumbsup:
    the other bug is that the character is named “MacGuyver”, not “McGuyver"
    Dan McCracken
    @mccrackend
    @yamikuronue Agile + DevOps at the same time?? I suppose if mgmt & leadership fully support the flailing that is probably happening internally, might have a shot
    mcmiv413
    @mcmiv413
    @hakamadare Why not include his first name? :-D
    Steve Huff
    @hakamadare
    :trollface:
    Yami
    @yamikuronue
    @mccrackend to be fair, we've been half-agile for years: start eveyr project waterfall, and when the deadline goes flying past due to scope creep, start doing agile XD
    Christian Dahlhausen
    @cdahlhausen
    Looks like docker node ps -a is not an option anymore