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

Allow user to set predefined token when swarm init #25752

Closed
fphilippon opened this issue Aug 16, 2016 · 5 comments
Closed

Allow user to set predefined token when swarm init #25752

fphilippon opened this issue Aug 16, 2016 · 5 comments

Comments

@fphilippon
Copy link

Hello,

Following #24430, having the ability to set our own token when initializing a swarm could be a great help in order to automatize creation of swarms using some configuration management tools like Chef & cie.

We could have a sub-command "set" under the docker swarm join-token option.

Do you think we could have this for the upcoming releases?

Thanks.

@justincormack
Copy link
Contributor

There has been no change in the discussion in #24430, where the ability to generate your own token was intentionally removed, so this is not going to be changed.

We are aware that it makes cluster setup more difficult in some situations, but it should not be impossible to do with the generated tokens. Feel free to discuss how to do that here or open another issue, but I will close this as it is not due to change.

@websitesca
Copy link

+1

@adamkdean
Copy link

It's sad to see the ability to provide predefined tokens has been removed to save users from themselves. It's like removing knives from a kitchen because you may cut yourself if you use them wrong. Now we have no knives and can't cut anything.

@qli-aa
Copy link

qli-aa commented Aug 2, 2018

+1

@igorgatis
Copy link

Please, at least provide us with an example of how to make cluster automation in this case. A terraform or ansible example would be really appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants