You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "JohnTing (Jira)" <ji...@apache.org> on 2020/09/13 11:35:00 UTC

[jira] [Created] (SUBMARINE-623) Experiment templates cannot use pure digital parameters

JohnTing created SUBMARINE-623:
----------------------------------

             Summary: Experiment templates cannot use pure digital parameters
                 Key: SUBMARINE-623
                 URL: https://issues.apache.org/jira/browse/SUBMARINE-623
             Project: Apache Submarine
          Issue Type: Improvement
          Components: experiment template
            Reporter: JohnTing
            Assignee: JohnTing
             Fix For: 0.5.0


Now experiment templates cannot use pure digital parameters,
 For example,

if the following "replicas", using {code:json}"{{Master.replicas}}"{code}, the experiment will fail.
 If the "replicas" uses {code:json}{{Master.replicas}}{code}, it will not be parsed as json.

 
{code:json}
"spec": {
    "Master": {
      "replicas": 1,
      "resources": "cpu=1,memory=1024M"
    },
    "Worker": {
      "replicas": 1,
      "resources": "cpu=1,memory=1024M"
    }
  }
{code}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org