Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you use Portainer Stack Utils? #18

Closed
greenled opened this issue Jul 27, 2019 · 7 comments
Closed

How do you use Portainer Stack Utils? #18

greenled opened this issue Jul 27, 2019 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@greenled
Copy link
Owner

Hi @hoangphamw, @hoffigk, @idetoile, @jaygridley, @jobleadsorder, @joonyoung-lee, @jpahullo, @kanthi, @LolHens, @mcs07, @mcs07, @ntman4real, @null395922, @rickmclean, @somq, @tortuetorche, @uniconstructor, @xinity, @yeckey, all of you Protainer Stack Utils's stargazers.

I apologize for dragging your attention this massive way. I will be short, promised.

First of all, thank you for starring PSU, it's highly motivating. I would like to have a clearer idea of how is it being used out there in order to stay scoped and serve the most people.

It would be very helpful if you leave a comment briefly describing how you use (or would use, or know someone else uses) PSU, and what do you think is its strongest point.

Best regards,
Juan Carlos

@greenled greenled pinned this issue Jul 27, 2019
@uniconstructor
Copy link

Hello, @greenled .

Here is my answers:

  1. (usage) I would use Portainer Stack Utils as a default cli tool for deploying several different Docker app stacks in one machine. I prefer PSU cli instead of native docker-compose cli because of several reasons:
  • PSU has more high-level API, with "get the shit done" commands like psu stack deploy <mystack>
  • much more simple structure of yaml/json config
  • CI/CD friendly (I use GitLab CI)
  • environment variables management looks more clearer for me (ability to separate script's env-values from stack env-values is important for me)
  • microservice deployment & testing: if you are a backend developer, you need to deploy several microservices on a singe-instance test-server, and you don't have time to deep dive into docker-compose docs or learn things Ansiable (regardless of awesomeness of those tools) - the PSU is probably best choice for you to get your test-server up and running "here and now"
  1. (strongest point) The simplicity is the main feature for me

@somq
Copy link

somq commented Jul 30, 2019

I almost got to the point to integrate it in a service that manages rolling updates in a proprietary system, but I finally decide to re-wrote it for consistency reasons.

I now use it as a cli tool to facilitate dev process; eg. deploying or undeplodying quickly a stack through portainer.

So strong points to me are: easy-to-use/flexible and stable/reliable. I want it to work, and with no pain

@jaygridley
Copy link

Hello,

  1. (usage)
  • we use PSU as part of our CD pipeline
  • we have PSU in Docker container and basically using docker run with bind of docker-compose.stack.yml into container and deploying it into Portainer using PSU call
  1. (strongest point)
  • simplicity
  • just works

@greenled
Copy link
Owner Author

Wonderful! Thank you for your thoughts.

@ghost
Copy link

ghost commented Jul 31, 2019

Hello,
I use it as library for a little docker stack env helper that I've developed in python (at first just few lines in bash, then I moved on python and added a lot of features) and not allready documented (it will be in future) named stackd.
I use ansible in upstream to setup the whole architecture. For now I've added a local copy of PSU directly into my package, I now it's a bit dirty, but this way it's installed at same time as the pip package.
What I like in PSU:

  • simplicity (the do one thing and do it well)
  • no dependencies (except bash)
  • easy to understand code (and so easy to modify if needed)

PS: thanks for this awesome tool

@greenled
Copy link
Owner Author

greenled commented Aug 8, 2019

@idetoile You're welcome. I'm glad you findit useful.

@greenled
Copy link
Owner Author

greenled commented Aug 8, 2019

So, from your comments I see the project's main features are simplicity, reliability and extensibility. And it's used mainly as part of CI/CD pipelines.

Thanks for your feedback.

@greenled greenled closed this as completed Aug 8, 2019
@greenled greenled unpinned this issue Aug 8, 2019
@greenled greenled added the help wanted Extra attention is needed label Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants