Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 17 20:22
    daliborfilus commented #554
  • Nov 17 20:21
    daliborfilus commented #554
  • Nov 04 13:36
    neeweesomu commented #647
  • Nov 04 13:36
    neeweesomu commented #647
  • Nov 04 13:35
    neeweesomu commented #647
  • Nov 03 13:06
    neeweesomu reopened #647
  • Nov 03 12:50
    neeweesomu edited #647
  • Nov 03 12:46
    neeweesomu closed #647
  • Nov 03 12:46
    neeweesomu commented #647
  • Nov 03 12:26
    neeweesomu edited #647
  • Nov 03 12:26
    neeweesomu edited #647
  • Nov 03 12:24
    neeweesomu edited #647
  • Nov 03 12:23
    neeweesomu edited #647
  • Nov 03 12:23
    neeweesomu edited #647
  • Nov 03 12:22
    neeweesomu opened #647
  • Oct 29 15:10
    eramosr22 commented #607
  • Oct 29 15:08
    eramosr22 commented #607
  • Oct 29 01:36

    nohaapav on master

    implements healthcheck control Merge pull request #645 from Sc… (compare)

  • Oct 29 01:36
    nohaapav closed #645
  • Oct 29 01:36

    nohaapav on master

    Update the InfluxDB version to … Merge pull request #539 from xe… (compare)

Chase Pierce
@syntaqx
Do any of you guys implement devops goodies to deploy your docker swarms? Terraform perhaps? Would love to learn from you on a good way to build out a swarm
Pavol Noha
@nohaapav
Hi Chase, we prepared terraform for some of ours AWS customers .. Currently we're in the process of discussion how to share this know-how and make deployment to cloud "one click" experience :)
Chase Pierce
@syntaqx
Any kind of general idea when you might be able to share that, if you were able to?
Pavol Noha
@nohaapav
First we need to release 1.7, then this one is the priority ..
Chase Pierce
@syntaqx
Fair - Well, if you do get the opportunity to share it soon, it would be massively useful for me with what I'm working on, but I also understand having priorities :)
Chase Pierce
@syntaqx
Anyone have any advice on connecting CircleCI to a swarm cluster so it can perform a rolling update? That, or how do you guys CI your updates?
Pavol Noha
@nohaapav
Swarmpit supports service autoredeploy .. So only thing your CI has to do is to publish new version of docker image to custom registry. If there is a change, swarmpit automatically redeploy service with latest version of image
Chase Pierce
@syntaqx
How does it determine a new image is available?
And, how can I integrate that with notifications so that I can see the service has deployed via slack?
Pavol Noha
@nohaapav
swarmpit remember sha of deployed image .. if sha has changed then new version is out there
Chase Pierce
@syntaqx
I build lots of shas though - I have multiple environments live that are all on different shas
How does it know which is supposed to production?
Pavol Noha
@nohaapav
well i guess that you use prod tag for production deployment
Chase Pierce
@syntaqx
Nope, we use semver
If we didn't it'd be literally impossible for us to have bluegreens, feature releases and rolling smokes
Pavol Noha
@nohaapav
Well how do you know which version is ready for production if your not tagging images ? As you've mentioned you have one version of image across multiple clusters -> no chance to track what is what
just by sha
Chase Pierce
@syntaqx
We are tagging images, we just tag them with SemVer. When a production release is ready, it gets tagged - syntaqx/service:v1.0.0 - That then triggers a Circle build, which builds that docker image
Then, the next deploy would be a different release, and different tag, ie - syntaqx/service:v1.0.1
To know which version is "ready for production" - That happens on build - The image is tagged, Circle can deploy it. Then, for DR , we use GitHub's API to determine what the latest tag is
lumir-mrkva
@lumir-mrkva
@syntaqx have you considered to also tag images for environments (eg. dev, test, production )? then swarmpit would simply keep tagged image on its environment up to date
Chase Pierce
@syntaqx
The problem is we have multiple images in production/staging sometimes though
That's why that doesn't work
A simple example of when this is the case is if we're doing a partial rollout (ie, 10% of users) to see how well a new feature works. - We use multiple version hashes to do this
lumir-mrkva
@lumir-mrkva
so in that case you have basically 2 environments deployed in production?
Chase Pierce
@syntaqx
Indeed
Plus, if you use the same tag for prod, you can't do rollbacks?
lumir-mrkva
@lumir-mrkva
not really
Chase Pierce
@syntaqx
So yeah, that's not ideal, haha
lumir-mrkva
@lumir-mrkva
you would have to tag earlier image as "production"
if you want to trigger deploy on circle ci or any other change in your swarm, you can use swarmpit api
Chase Pierce
@syntaqx
Example? I haven't seen this. Is there docs?
lumir-mrkva
@lumir-mrkva
we don't have really a documentation yet for that, but you can get api token in account settings
just inspect for XHR that frontend does with your change, and you can export it to curl
and change it to your liking
Chase Pierce
@syntaqx
:wave: How goes it friends?
Pavol Noha
@nohaapav
all good man :)
Chase Pierce
@syntaqx
Are you guys using datadog agent by chance to collect logs in your swarms?
I'm trying to figure out what I need to configure for my services to show up correctly
Chase Pierce
@syntaqx
@nohaapav Any update on the terraform provider/api docs? :)
Pavol Noha
@nohaapav
not really ... busy with other work :) We're not using datadog in current setup ..
Chase Pierce
@syntaqx
FeelsBad. Hoping you guys will release stuff soon :(
Any way I can help? :)
Pavol Noha
@nohaapav
Nothing on my mind apart of 1.7 release .. But again clojure knowledge is a must .. :)
Chase Pierce
@syntaqx
I'm slowly learning it ;)
Chase Pierce
@syntaqx
@nohaapav How goes development of the various things? Terraform provider, api docs, general happiness I can start using? :)
Pavol Noha
@nohaapav
Finalizing release .. not really time for terraform .. api doc will be probably done in 1.8 (we're going to integrate swagger but first we need to introduce reitit instead of bidi routing)
Chase Pierce
@syntaqx
I suppose that's fair, hah
Ghost
@ghost~530e888d5e986b0712efbd49
I need some help with understanding how the auto redeploy works.
I cant seem to find any documentation for swarmpit