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

Replace deprecated scale with deploy.replicas #585

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stcz
Copy link
Contributor

@stcz stcz commented Mar 19, 2023

In the docker compose files scale: is used, which is deprecated:

WARN[0000] `scale` is deprecated. Use the `deploy.replicas` element 

This PR replaces it with deploy.replicas.

Since docker 1.18 Variables of the wrong type (what is the case here) are casted.

@suricactus
Copy link
Collaborator

suricactus commented Mar 19, 2023

While I do agree it is a step in the right direction, we had some environments that were experiencing troubles with this setting.

Cannot remember right now, but the deprecated setting is used on purpose for now.

Take this as a warning it might take a bit longer than anticipated to get this merged.

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

Successfully merging this pull request may close these issues.

None yet

2 participants