- Now that everything is validated, we should be able to reliably fill in the host port correctly - DCOS-10021
Details
Details
Used the following json and checked the status after
{ "id": "/podz/pod", "labels": { "values": {} }, "version": "2016-09-27T21:29:28.397Z", "user": null, "environment": null, "containers": [ { "name": "container1", "exec": { "command": { "shell": "sleep 100" }, "overrideEntrypoint": false }, "resources": { "cpus": 1, "mem": 128, "disk": 0, "gpus": 0 }, "endpoints": [ { "name": "http", "containerPort": 1, "hostPort": 0, "protocol": ["tcp"], "labels": { "values": {} } } ], "image": { "kind": "docker", "id": "mesosphere/mesos-slave:latest", "forcePull": false }, "environment": null, "user": "root", "healthCheck": { "http": { "endpoint": "http", "path": "/health", "scheme": "http" }, "gracePeriodSeconds": 30, "intervalSeconds": 2, "maxConsecutiveFailures": 3, "timeoutSeconds": 20, "delaySeconds": 2 }, "volumeMounts": [], "artifacts": [], "labels": null, "lifecycle": { "killGracePeriodSeconds": 60 } } ], "secrets": null, "volumes": [], "networks": [ { "mode": "host" } ], "scaling": { "kind": "fixed", "instances": 1, "maxInstances": null }, "scheduling": { "backoff": { "backoff": 1, "backoffFactor": 1.15, "maxLaunchDelay": 3600 }, "upgrade": { "minimumHealthCapacity": 1, "maximumOverCapacity": 1 }, "placement": { "constraints": [], "acceptedResourceRoles": [] } } }
Diff Detail
Diff Detail
- Repository
- rMARATHON marathon
- Branch
- jason/pod-health-check-proto
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 47 Build 47: arc lint + arc unit