Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1443

Scale specification keyword on docker compuse is deprecated

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Docker

    Description

      The errors are as follows, and the scale specification keyword is deprecated[1], and it suggest using replicas[2], so I think we should change it.

      BTW, from [3] we see the following discuss:

      "scale is not supported in v3 compose format. Try to set your compose file version to "2.4" or "2.2". If you really want to use the v3 format, try to set deploy.replicas instead as in https://docs.docker.com/compose/compose-file/#deploy."

      [1]https://github.com/compose-spec/compose-spec/blob/master/spec.md#scale

      [2]https://github.com/compose-spec/compose-spec/blob/master/deploy.md#replicas

      [3] https://github.com/docker/compose/issues/7722

      Attachments

        Activity

          People

            Unassigned Unassigned
            houliang Houliang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: