Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Update enginevariants.html.md #519

Open
wants to merge 1 commit into
base: livedoc
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/manual/source/deploy/enginevariants.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
In order to deploy multiple variants, then one must specify both the json file containing different variant,
the port that will be serving that, and the instance-id of the engine . The latter information is delivered at the end of the training, and is also stored in the `````id````` column of the `````pio_meta_engineinstances````` table.

`````
pio-docker deploy --engine-instance-id cc8d8de1-16c3-438d-a225-aa0a0ceea29f --variant=engine_01.json --port 8001
pio-docker deploy --engine-instance-id db8048d4-f8a7-4cb8-a64c-f0cab042d511 --variant=engine_02.json --port 8002
pio-docker deploy --engine-instance-id 939e6029-6744-4e66-a0a7-470fb7d8772e --variant=engine_03.json --port 8003
pio-docker deploy --engine-instance-id cc8d8de1-16c3-438d-a225-aa0a0ceea29f --variant=engine_04.json --port 8004
`````

(coming soon)