More reliable updates in rollingupdate

This commit is contained in:
Prashanth Balasubramanian
2015-04-30 16:07:40 -07:00
parent b0129089da
commit faa65cbd20
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