Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-4436

DCOS UI Changes to Support UCR with Jobs

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: metronome
    • Labels:
      None

      Description

      Background

      Metronome is adding support for UCR jobs. In the first iteration, we will simply add an option to change the containerer.

      Acceptance criteria

      • UI allows users to select the containerizer
      • UI exposes validation error messages appropriately (for example, you cannot specify docker parameters if UCR containerizer is selected)
      • UI respects the new JSON fields added for UCR support (does not delete any supported field before sending to metronome API)

       

      Newly added to Metronome (targeted for Version 0.6.0+) is the ability to use UCR instead of docker for the containerizer.   The following is the new schema:

      {
        "description": "Example Application",
        "id": "prod.example.app",
        "run": {
          "artifacts": [],
          "cmd": "nuke --dry --master local",
          "cpus": 1.5,
          "mem": 32,
          "disk": 128,
          "ucr": {
            "image": {
              "kind": "DOCKER", // Default
              "id": "foo/bla:test"
           }
         }
        }
      }

       

      Rules:   

      1. You can NOT specify docker and UCR
      2. UCR has an image element which has a kind and id.   The default kind is Docker is currently the only support kind.  The Id is the image name.

      defined schema:  https://github.com/dcos/metronome/blob/master/api/src/main/resources/public/api/v0/schema/jobspec_v0.schema.json#L87-L118

       

      The UI needs to be able to specify docker or UCR.   Docker has more options than UCR at the moment...  for instance docker has the ability to set docker parameters and UCR does not.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ken Ken Sipe
                Team:
                Frontend Team
                Watchers:
                Dima Rozhkov, Ioannis Charalampidis, Julian Gieseke, Ken Sipe
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: