Use etcd compare and swap to update the list of pods, to remove a race.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"desiredState": {
|
||||
"manifest": {
|
||||
"containers": [{
|
||||
"name": "nginx",
|
||||
"image": "dockerfile/nginx",
|
||||
"ports": [{"containerPort": 80, "hostPort": 8080}]
|
||||
}]
|
||||
|
Reference in New Issue
Block a user