Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Deployments
    • Labels:

      Description

      I use marathon deploy a dockerize app, two instances. when update the app, the container running old image(test/docker-profile-proxy-testout:2) is retainning.

      update commnad

      curl -sH "content-type: application/json" -XPUT -d @$WORKSPACE/marathon.json http://192.168.60.8:8080/v2/apps/$

      {JOB_NAME}

      marathon.json

      `
      {
      "id": "$JOB_NAME",
      "cmd": null,
      "cpus": 1,
      "mem": 2048,
      "disk": 0,
      "instances": 2,
      "labels":

      {"appType":"$APP_TYPE", "author":"$BUILD_USER"}

      ,
      "constraints": [
      ["type", "CLUSTER","app-test"]
      ],
      "container": {
      "type": "DOCKER",
      "volumes": [

      { "containerPath": "/logs", "hostPath": "/var/log/app", "mode": "RW" }

      ],
      "docker": {
      "image": "test/docker-profile-proxy-testout:$BUILD_NUMBER",
      "network": "USER",
      "privileged": false,
      "forcePullImage": true,
      "parameters": [

      { "key": "network", "value": "macvlan96" }

      ]
      }
      },
      "ipAddress":

      { "networkName": "macvlan96" }

      ,
      "healthChecks": [

      { "port": 8080, "protocol": "TCP", "gracePeriodSeconds": 180, "intervalSeconds": 15, "timeoutSeconds": 30, "maxConsecutiveFailures": 0 }

      ],
      "upgradeStrategy":

      { "minimumHealthCapacity": 0, "maximumOverCapacity": 1 }

      }

      `

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              GitHub_qiankunli qiankunli (Inactive)
              Team:
              Orchestration Team
              Watchers:
              Aleksey Dukhovniy, Jason Gilanfarr (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: