kubernetes/pkg/controller/statefulset
Kubernetes Submit Queue b5d010d6a3 Merge pull request #40910 from justinsb/fix_35695
Automatic merge from submit-queue (batch tested with PRs 41667, 41820, 40910, 41645, 41361)

Allow multiple mounts in StatefulSet volume zone placement

We have some heuristics that ensure that volumes (and hence stateful set
pods) are spread out across zones.  Sadly they forgot to account for
multiple mounts.  This PR updates the heuristic to ignore the mount name
when we see something that looks like a statefulset volume, thus
ensuring that multiple mounts end up in the same AZ.

Fix #35695

```release-note
Fix zone placement heuristics so that multiple mounts in a StatefulSet pod are created in the same zone
```
2017-02-23 20:57:29 -08:00
..
BUILD Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
OWNERS Add approvers to StatefulSet 2017-02-23 11:03:09 -08:00
stateful_pod_control_test.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_pod_control.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_set_control_test.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_set_control.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_set_test.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_set_utils_test.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00
stateful_set_utils.go Merge pull request #40910 from justinsb/fix_35695 2017-02-23 20:57:29 -08:00
stateful_set.go Switch statefulset controller to shared informers 2017-02-22 08:53:51 -05:00