Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 24 08:58
    i4j5 opened #643
  • Jun 23 11:42
    i4j5 commented #642
  • Jun 21 16:06
    lumir-mrkva commented #642
  • Jun 21 02:17
    anhhtca commented #635
  • Jun 20 16:52
    i4j5 commented #323
  • Jun 20 16:47
    i4j5 commented #323
  • Jun 20 16:45
    i4j5 commented #635
  • Jun 20 13:38
    i4j5 opened #642
  • Jun 04 08:37
    designermonkey commented #641
  • Jun 03 12:24
    optica-phoffmann commented #641
  • Jun 03 11:04
    optica-phoffmann commented #641
  • May 30 17:29
    VuiDJi commented #352
  • May 27 12:15
    nohaapav commented #641
  • May 27 12:11
    nohaapav commented #641
  • May 27 12:11
    nohaapav commented #641
  • May 27 12:10
    nohaapav commented #641
  • May 27 11:38
    designermonkey opened #641
  • May 04 07:45
    anhhtca commented #635
  • May 04 07:19
    anhhtca commented #635
  • Apr 26 18:35
    arrdem closed #447
Mike
@mhsutton_gitlab
@nohaapav - is there any info on how the redeploy when image updated feature works, can it be configured etc. There are some images I want to control when they are updated in my swarm (currently I use sheperd).
@nohaapav is it 'AutoRedeploy' on the service definition?
lumir-mrkva
@lumir-mrkva
@mhsutton_gitlab swarmpit check regularly all services that have swarmpit.service.deployment.autoredeploy label set and compares their deployed tag hash with hash in the repository and triggers update if it differs
that way your CI doesn't have to have access to your infrastructure to deploy new version
btw. we're planning to have some recommended example compose files of traefic and stuff to get you started in repo, did you setup traefik 2.0 ?
Matthias Baldi
@matthiasbaldi
I'll try it soon to migrate traefik to 2.0. I run into the "auto-migration" 😬😝
lumir-mrkva
@lumir-mrkva
@matthiasbaldi i am currently setupping new cluster utilizing traefik 2 so i should be able to share some stackfiles soon, when i get it working properly
Matthias Baldi
@matthiasbaldi
👍 👌
Mike
@mhsutton_gitlab
@lumir-mrkva - haven't made the move to traefik 2.0 yet, scheduled to look into that in our lab cluster in 2-3 weeks. Things just got stable
also - I see the 'View Logs' on services, is there a way to run a command - like bash to get into a running container?
Pavol Noha
@nohaapav
@mhsutton_gitlab Hi Mike, you can't exec into container via Swarmpit at the moment.
Mike
@mhsutton_gitlab

perhaps a little off topic but... one postgres per app database or one shared postgres container with multiple app databases?

shared container pros: easier to manage, backup, replicate. Cons: single point of failure (all apps down if pg container goes down)
per app postgres pros - resilience/app isolation; Cons: different versions, more stuff to maintain, replicate

How do you decide?

Mike Holloway
@mh720
@mhsutton_gitlab scaling is possibly the concern for pointing all your apps at the same db instance. If the load from your multiple apps is easily served by a single postgres instance, this might be desired due to the management pros you shared. As your load grows over time, you could always spin up another db instance and migrate data for one of your busy DBs into it and re-point apps.
Mike
@mhsutton_gitlab
@mh720 yeah - really good point, unfortunately instance scaling is not an option yet (because persisted volumes are too slow) and actually having more replica nodes makes no difference to capacity. I think what you outline is the only way to share the load. Which is not a bad option, things will have to have gotten seriously busy though. The replica stuff already provides replication on servers in a different geo-zone
@mh720 thanks for the response
rajaws2015
@rajaws2015
Hi Guys, i am new to Swarmpit. Currently we have running swarmpit for my production based docker swarm.
version is 1.5. How to upgrade the version of Swarmpit ?
Pavol Noha
@nohaapav
Check the compose for given version and update yours accordingly ..
Of course update just deltas -> versions, and things that were introduced since 1.5
SamyOteroGlez
@SamyOteroGlez
Would it be possible to define a host volume suing swarmpit?
volumes:
      - ./my_volume:/opt/my_volume/data
or it is just limited to anonymous and named volumes?
lumir-mrkva
@lumir-mrkva
@SamyOteroGlez this should work fine by using stackfile - we just give this file to docker to parse it and process it, but if you want to bind host location by using create service workflow in swarmpit, you have to chose type "bind" instead of (named) volume
SamyOteroGlez
@SamyOteroGlez
@lumir-mrkva Thanks!
Eldad A. Fux
@eldadfux
Hey guys, I was looking for a Rancher 1.6 alternative to use with https://appwrite.io and Rancher 2.0 seems to have lost the simplicity first approach by putting all the cards on Kubernetes (which seems to me like an overkill for most small to medium companies or apps). I tried Swarmpit over the last few days and really liked how simple everything was. Is swarmpit production ready? is there any public roadmap available?
Pavol Noha
@nohaapav
@eldadfux Hi Eldad. Yes, we run Swarmpit in PROD for our internal infrastructure, fintech and so on. As you mentioned: Swarmpit/Swarm is aimed for small/medium companies and startups tired of complex solutions in the era of rapid development.
You can find ROADMAP here: https://github.com/swarmpit/swarmpit/blob/master/ROADMAP.md
We'll update info regarding 1.9 RELEASE soon as well as landing page.
Eldad A. Fux
@eldadfux
@nohaapav thank you so much, this project look awesome! I really love how everything is so simple and how you are avoiding from adding new concepts and bigger learning curves. I think you might be able to save me from migrating to kubernetes!
Dennis Micheelsen
@dennismi
hey guys, a quick question, how do i authenticate myself to the API?
Dennis Micheelsen
@dennismi
hmm.. an post to /login with authorization: basic <base64 username:password> ... but according to jwt.io, the bearer token does not have a valid signature, but it still works...
Pavol Noha
@nohaapav
well you need a secret in order to validate signature ..
this one is stored in swarmpit DB
To use swarmpit API go to settings section and generate API token.
Radek Erben
@radekerben
Hi, swarmpit dont show disk usage on volume, if i used local-persist plugin. Why? Thnank you for help
Dennis Micheelsen
@dennismi
@nohaapav got it...

I am currently using 1.9-aeee736 - and i have a problem viewing logs. The page is getting an typeError ...

main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:163 TypeError: Cannot read property 'charAt' of null
at E (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:361)
at main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:361
at Td (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:128)
at mg (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:136)
at hi (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:152)
at Qg (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:190)
at Rg (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:191)
at Sc (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:204)
at Z (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:202)
at Zg (main.js?r=aeee736a2f8cbdfd45049b298ea6b507a0c50021:205)

I am running in docker with latest tag.

Pavol Noha
@nohaapav
@dennismi there is issue with material update .. the fab button component is missing in new release .. it will be fixed with following issue: swarmpit/swarmpit#415
Dennis Micheelsen
@dennismi
@nohaapav ok, got it... will wait then :)
capriciousduck
@capriciousduck
I get target error while building my own image. Anyone know about that ?
I am using the git repo dockerfile
Michael
@millsoft
hi everyone. How can I uninstall swarmpit (I installed it using the docker command provided on the website)? I am trying to stop and remove the containers but they are being restarted.. I also changed the restartpolicy to no but it doesn't work... :/
nevermind, found an answer on some website:
docker stack rm swarmpit
Matthias Baldi
@matthiasbaldi
around the subject of the takeover of Docker Enterprise by Mirantis. Because of issues like this (docker/swarm#2965) I have some concerns about the future from Docker Swarm and with it also Swarmpit. Both products are awesome and helped me to implement an easy platform.
So how do you think from the "Swarmpit" point of view about the future?
Do you have some further information?
Pavol Noha
@nohaapav
@matthiasbaldi Docker Swarm is OS project so even if the Docker stops development, support can live within the community. We choose this orchestrator because it's easy to learn and nearly all features can be understood by average developer in a full day class. We believe that in the ERA of rapid development, prototyping, startups such orchestrator is essential. It's still second largest on market and Docker will be stupid to shut it down entirely. And if they do so, new one following the same goal (simplicity) will find the way to shine. We run our entire infrastructure (multiple customers) on Swarm and if there is any transition regarding orchestrator we're going to support it as well.
Matthias Baldi
@matthiasbaldi
@nohaapav I completely agree to that.
Thanks for your answer. Then let's see what the future will bring to Docker Swarm. :thumbsup:
Eric Barber
@ericbarber01_twitter
new to swarmpit - how do get the node names to show correctly? Also I am unable to add my registry by hostname only ip works?
lumir-mrkva
@lumir-mrkva
@ericbarber01_twitter seems like some sort of dns configuration issue, there is nothing you can do about it in swarmpit itself, nodes have to be configured properly
Eric Barber
@ericbarber01_twitter
any idea how to change the time zone in swarmpit? I passed -e TZ='America/New_York' but no luck. Dashboard still shows UTC.
Pavol Noha
@nohaapav
@ericbarber01_twitter not supported yet. See swarmpit/swarmpit#400
francis2211
@francis2211
I am playing with Swarmpit and I was wondering how can I add a new node to swarmpit?
Currently, I have 3 nodes running, and I just added another one how can I start the agent on that node