Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Xiaoxiang
    @jianxx
    I feel that environment variables are difficult to manage if they are not put into configuration files.
    Yami
    @yamikuronue
    the trouble I have is that the more environment variables you have, the more crap you have to know as a dev in order to spin something up. When we have 12 or 15 pieces of configuration, the config file seems necessary. At the same time, these data pieces change based on the environment the container runs in, and I want to use the same container version all the way up our deploy chain. So we map in files from the host and ship with only a dev config by default.
    Perry Shuman
    @Noirbot_twitter
    But I'm just seeing small spikes of mining now and then
    I just rm rng'd again, and re-built it, but nothing's happening
    Xiaoxiang
    @jianxx
    @yamikuronue yeah, I agree. and I'm also thinking about if there are over ten dev teams working with different building/versioning tools. it makes things more complicated.
    Perry Shuman
    @Noirbot_twitter
    worker.6.00lzxni3f27g@ip-172-31-51-102     | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='rng', port=80): Max retries exceeded with url: /32 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbc3ec01e48>: Failed to establish a new connection: [Errno 110] Operation timed out',))
    Jesse White
    @anonymuse

    @Noirbot_twitter -- let's try to restart the service. Can you run

    `docker service update hasher --force

    please?

    This will force the service to be updated even if there isn't an update to be made to the service.
    Perry Shuman
    @Noirbot_twitter
    done
    still no hashing
    Jesse White
    @anonymuse
    @Noirbot_twitter -- can you raise your hand, I'll ask shawn to stop by
    Given that it's https responding with an error, it could be the webgui service @Noirbot_twitter . Did you guys figure it out?
    Yami
    @yamikuronue
    ugh... why do devs like yaml so much (not a serious question) >.>
    Perry Shuman
    @Noirbot_twitter
    I'm just gonna move on to Stack
    and see
    Jesse White
    @anonymuse
    Sounds good Perry.
    @yamikuronue -- more of a json fan? Not sure I like that better :-)
    Yami
    @yamikuronue
    yeah, I always seem to guess the wrong syntax for yaml, while json is easier because it's whitespace agnostic. plus every tool I've used that uses yaml gives me at best vague, cryptic errors when the .yml file is malformed >.>
    Dan Mikita
    @danmikita
    So - how does Swarm Stack handle namespaces/environments?
    Perry Shuman
    @Noirbot_twitter
    And stack fixed my networking issues so... idk @anonymuse
    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