-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guard the ready replica checking by server version #37303
Conversation
This disables ready replica checking for 1.3 masters, but only from 1.4 or 1.5 clients. The old logic was broken anyway due to overlapping labels with replica sets.
cc @saad-ali |
Jenkins Kubemark GCE e2e failed for commit 1614b97. Full PR test history. The magic incantation to run this job again is |
@@ -493,6 +495,14 @@ func WaitForPodsSuccess(c clientset.Interface, ns string, successPodLabels map[s | |||
// and some in Success. This is to allow the client to decide if "Success" | |||
// means "Ready" or not. | |||
func WaitForPodsRunningReady(c clientset.Interface, ns string, minPods int32, timeout time.Duration, ignoreLabels map[string]string) error { | |||
|
|||
// This can be removed when we no longer have 1.3 servers running with upgrade tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO(krousey)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm |
@saad-ali: This should also be cherry-picked into 1.4 since the other one was. |
@k8s-bot kubemark e2e test this |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
Jenkins Bazel Build failed for commit 1614b97. Full PR test history. The magic incantation to run this job again is |
Automatic merge from submit-queue |
@jessfraz did this ever make it into 1.4? |
looks like it has not been cherry-picked yet, but we can get it in for the next release |
cherry-picked in #37864 |
I fixed replica readiness checking for 1.4->1.5 upgrades by using a field that only exists in versions >=1.4.0 in #36924
This fixed a lot of issues in 1.4->1.5 upgrade testing, but did not fix 1.3->1.5 upgrade tests. I've disabled replica checking for 1.3 masters as the old logic was broken anyway.
This will not affect the 1.3 CI tests. Just 1.3 -> {1.4, 1.5} upgrade tests.
https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gke-container_vm-1.3-container_vm-1.5-upgrade-cluster-new/330?log
is an example of this breakage. This is the tell-tale logs:
This change is