Merge pull request #7705 from bprashanth/rollingupdate_2

Reliable updates in rollingupdate
This commit is contained in:
Jeff Lowdermilk
2015-05-05 09:23:25 -07:00
3 changed files with 126 additions and 6 deletions

View File

@@ -546,8 +546,6 @@ __EOF__
kubectl delete service frontend{,-2,-3} "${kube_flags[@]}"
### Perform a rolling update with --image
# Pre-condition status.Replicas is 3, otherwise the rcmanager could update it and interfere with the rolling update
kube::test::get_object_assert 'rc frontend' "{{$rc_status_replicas_field}}" '3'
# Command
kubectl rolling-update frontend --image=kubernetes/pause --update-period=10ns --poll-interval=10ms "${kube_flags[@]}"
# Post-condition: current image IS kubernetes/pause