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

Feedback for Marathon Configuration Reference

    Details

      Description

      Source: https://docs.mesosphere.com/1.11/deploying-services/marathon-parameters

      I tried running the example app.

      1. marathon doesn't accept capital letters, so myApp is not valid id
      2. Fixing that and trying to run it I've got the following errors from Marathon

      • Volume size must be undefined for Docker containers
      • constraints: operator must be one of the following UNIQUE, CLUSTER, GROUP_BY, LIKE, MAX_PER or UNLIKE
      • Volume mode does not equal RW
      • upgradeStrategy.maximumOverCapacity: got 0.2, expected 0.0
      • acceptedResourceRoles: A resident app must have `acceptedResourceRoles = ["*"]`.
      • Number of instances is limited to 1 when declaring DVDI volumes in app [App(/product/service/myapp,Some(Set(role1, *)),List(),1.15,1,Some(env && sleep 300),Set(List(attribute, $OPERATOR, value)),Some(Container(DOCKER,Some(DockerContainer(None,None,false,group/image,None,List(DockerParameter(a-docker-option,xxx), DockerParameter(b-docker-option,yyy)),None,false)),None,List(AppPersistentVolume(data,PersistentVolumeInfo(None,10,None,None,Set()),RO), AppExternalVolume(test-rexray-volume,ExternalVolumeInfo(Some(100),Some(my-test-vol),Some(dvdi),Map(dvdi/driver -> rexray)),RW)),Some(List(ContainerPortMapping(8080,Some(0),Map(),None,tcp,9000,List()), ContainerPortMapping(161,Some(0),Map(),None,udp,0,List()))))),1.5,Set(/product/db/mongo, /product/db, ../../db),0.0,Map(LD_LIBRARY_PATH -> EnvVarValue(/usr/local/lib/myLib)),,List(Artifact(https://raw.github.com/mesosphere/marathon/master/README.md,true,false,false,None), Artifact(https://foo.com/archive.zip,true,false,true,None)),Set(AppHealthCheck(None,3,None,10,3,Some(/health),None,Some(0),HTTP,IPv4,10,15), AppHealthCheck(None,3,None,10,3,Some(/machinehealth),Some(3333),None,HTTPS,IPv4,10,15), AppHealthCheck(None,3,None,5,3,None,None,Some(1),TCP,IPv4,5,15), AppHealthCheck(Some(CommandCheck(curl -f -X GET http://$HOST:$PORT0/health)),300,None,60,3,None,None,None,COMMAND,IPv4,20,15)),3,Map(environment -> staging),3600,256.0,0,None,List(Network(None,container/bridge,Map())),None,None,List(),Some(AppResidency(3600,WAIT_FOREVER)),false,Map(),Some(2),Some(UpgradeStrategy(0.2,0.5)),None,None,None,None,YOUNGEST_FIRST,None,None).id]

        Attachments

          Activity

            People

            • Assignee:
              joshearlenbaugh Josh Earlenbaugh
              Reporter:
              drozhkov Dima Rozhkov
              Team:
              Doc Team
              Watchers:
              Dima Rozhkov
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: