Created
February 16, 2017 19:48
-
-
Save JoelJ/bfe33442b5bf46201fe850c2641543d5 to your computer and use it in GitHub Desktop.
WhyNoReservation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"ID": "q7pymt4kjxgk7zba7zo6xmup1", | |
"Version": { | |
"Index": 13 | |
}, | |
"CreatedAt": "2017-02-16T19:46:32.590403927Z", | |
"UpdatedAt": "2017-02-16T19:46:32.595760458Z", | |
"Spec": { | |
"Name": "test-zookeeper", | |
"TaskTemplate": { | |
"ContainerSpec": { | |
"Image": "zookeeper:latest@sha256:6772b877718bcc1a47f69869646cd5e7a22a3ce1c7b6ebaa988a58cb610119fa" | |
}, | |
"Resources": { | |
"Limits": { | |
"NanoCPUs": 1000000, | |
"MemoryBytes": 52428800 | |
} | |
}, | |
"RestartPolicy": { | |
"Condition": "any", | |
"Delay": 5000, | |
"MaxAttempts": 3, | |
"Window": 120000 | |
}, | |
"ForceUpdate": 0 | |
}, | |
"Mode": { | |
"Replicated": { | |
"Replicas": 3 | |
} | |
}, | |
"UpdateConfig": { | |
"Parallelism": 2, | |
"Delay": 10000, | |
"FailureAction": "continue", | |
"Monitor": 1000, | |
"MaxFailureRatio": 0.1 | |
}, | |
"EndpointSpec": { | |
"Mode": "vip", | |
"Ports": [ | |
{ | |
"Name": "2181", | |
"Protocol": "tcp", | |
"TargetPort": 2181, | |
"PublishedPort": 2182, | |
"PublishMode": "ingress" | |
} | |
] | |
} | |
}, | |
"Endpoint": { | |
"Spec": { | |
"Mode": "vip", | |
"Ports": [ | |
{ | |
"Name": "2181", | |
"Protocol": "tcp", | |
"TargetPort": 2181, | |
"PublishedPort": 2182, | |
"PublishMode": "ingress" | |
} | |
] | |
}, | |
"Ports": [ | |
{ | |
"Name": "2181", | |
"Protocol": "tcp", | |
"TargetPort": 2181, | |
"PublishedPort": 2182, | |
"PublishMode": "ingress" | |
} | |
], | |
"VirtualIPs": [ | |
{ | |
"NetworkID": "p9uvfo0p0zfa991u7kvf0c2kf", | |
"Addr": "10.255.0.4/16" | |
} | |
] | |
}, | |
"UpdateStatus": { | |
"StartedAt": "0001-01-01T00:00:00Z", | |
"CompletedAt": "0001-01-01T00:00:00Z" | |
} | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Name": "test-zookeeper", | |
"Labels": {}, | |
"TaskTemplate": { | |
"ContainerSpec": { | |
"tty": null, | |
"Image": "zookeeper", | |
"Command": [], | |
"Args": [], | |
"Env": [], | |
"Dir": null, | |
"User": null, | |
"Labels": {}, | |
"TTY": null, | |
"Mounts": [], | |
"StopGracePeriod": null, | |
"DNSConfig": null | |
}, | |
"Resources": { | |
"Limits": { | |
"NanoCPUs": 1000000, | |
"MemoryBytes": 52428800 | |
}, | |
"Reservation": { | |
"NanoCPUs": 100000, | |
"MemoryBytes": 20971520 | |
} | |
}, | |
"RestartPolicy": { | |
"Condition": "ANY", | |
"Delay": 5000, | |
"MaxAttempts": 3, | |
"Window": 120000 | |
}, | |
"Placement": null, | |
"ForceUpdate": null, | |
"Networks": [], | |
"LogDriver": null | |
}, | |
"Mode": { | |
"Replicated": { | |
"Replicas": 3 | |
}, | |
"Global": null | |
}, | |
"UpdateConfig": { | |
"Parallelism": 2, | |
"Delay": 10000, | |
"FailureAction": "CONTINUE", | |
"Monitor": 1000, | |
"MaxFailureRatio": 0.1000000000000000055511151231257827021181583404541015625 | |
}, | |
"Networks": [], | |
"EndpointSpec": { | |
"Mode": "VIP", | |
"Ports": [ | |
{ | |
"Name": "2181", | |
"Protocol": "TCP", | |
"TargetPort": 2181, | |
"PublishedPort": 2182 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment