Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-4261

Problem with DCOS marathon Virtual network

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Docs

      Description

      hi all,

      I installed DCOS with 3 masters and 3 agents.

      I facing problem with virtual network .

      here is my json. generated by marathon in dcos.

      {
        "id": "/nginx",
        "cmd": null,
        "cpus": 1,
        "mem": 128,
        "disk": 0,
        "instances": 1,
        "container": {
          "type": "DOCKER",
          "volumes": [],
          "docker": {
            "image": "nginx",
            "network": "BRIDGE",
            "portMappings": [
              {
                "containerPort": 80,
                "hostPort": 0,
                "servicePort": 10002,
                "protocol": "tcp",
                "name": "main1",
                "labels": {
                  "VIP_0": "9.0.0.0:34562"
                }
              }
            ],
            "privileged": false,
            "parameters": [],
            "forcePullImage": false
          }
        },
        "portDefinitions": [
          {
            "port": 10002,
            "protocol": "tcp",
            "labels": {}
          }
        ]
      }
      

      This I can see in dcos virtual network section.

      VIRTUAL NETWORK NAME | SUBNET | AGENT PREFIX LENGTH
      dcos 9.0.0.0/8 24

      this containers stays in waiting for long time. if I remove the port mapping section it runs successfully.

      Basically I need to know how to work with this new virtual network, and fix the service discovery and load balancing without using any extra stuff.

      Please give me some suggestion on this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vimalprakashts vimal prakash
                Team:
                Orchestration Team
                Watchers:
                Jason Gilanfarr (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: