The integration test will fail if I check in my pending PR to remove boundPods. Kubernetes eventually does the right thing, but getting the integration test to check expectations is hard because the scheduling behavior is unpredictable. The boundPods removal is needed to fix P1 bug and speeds up the scheduler considerably.
24 lines
615 B
JSON
24 lines
615 B
JSON
{
|
|
"id": "nginx-controller",
|
|
"apiVersion": "v1beta1",
|
|
"kind": "ReplicationController",
|
|
"desiredState": {
|
|
"replicas": 2,
|
|
"replicaSelector": {"name": "nginx"},
|
|
"podTemplate": {
|
|
"desiredState": {
|
|
"manifest": {
|
|
"version": "v1beta1",
|
|
"id": "nginx-controller",
|
|
"containers": [{
|
|
"name": "nginx",
|
|
"image": "dockerfile/nginx",
|
|
"ports": [{"containerPort": 80}]
|
|
}]
|
|
}
|
|
},
|
|
"labels": {"name": "nginx"}
|
|
}},
|
|
"labels": {"name": "nginx"}
|
|
}
|