mesosphere / edgerouter

DCOS edgerouter
11 stars 5 forks source link

Run on Mesosphere #1

Open pierreliefauche opened 9 years ago

pierreliefauche commented 9 years ago

I tried deploying this edge router to Mesosphere but somehow the app is stuck at the action ScaleApplication on Marathon

Here’s the Marathon file I used:

{
  "id": "/router",
  "cpus": 1,
  "mem": 256,
  "instances": 1,
  "constraints": [["hostname", "UNIQUE"]],
  "acceptedResourceRoles": ["slave_public"],
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "mesosphere/edgerouter",
      "network": "BRIDGE",
      "portMappings": [
          {
              "containerPort": 80,
              "hostPort": 80,
              "protocol": "tcp"
          },
          {
              "containerPort": 443,
              "hostPort": 443,
              "protocol": "tcp"
          }
      ]
    }
  }
}

Is the issue only in my Marathon file or is there something else I’m missing?

richardvella commented 8 years ago

The latest image tag does not exist.

Change the image name to: "image": "mesosphere/edgerouter:6a7accd1ace5bf73fed7368870ee15f26c54293c"

and it should work. You can find the list of tags from here: https://hub.docker.com/r/mesosphere/edgerouter/tags/