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
OCPBUGS-20024: Revert "Revert "Set DNS DaemonSet's maxSurge value to 10%"" #384
OCPBUGS-20024: Revert "Revert "Set DNS DaemonSet's maxSurge value to 10%"" #384
Conversation
The defect in the daemon controller, <https://issues.redhat.com/browse/OCPBUGS-15531>, that prevented us from using maxSurge has been fixed. This commit is related to OCPBUGS-20024. https://issues.redhat.com/browse/OCPBUGS-20024. This reverts commit 1f7ac36.
@Miciah: This pull request references Jira Issue OCPBUGS-20024, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@Miciah: This pull request references Jira Issue OCPBUGS-20024, which is valid. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@Miciah: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
1 similar comment
@Miciah: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/assign @alebedev87 |
/lgtm |
For the record, I tested the changes in this PR manually in order to verify that OCPBUGS-19452 really is fixed and that OCPBUGS-13209 cannot be reproduced with the changes in this PR:
|
{ | ||
description: "if the update strategy's max surge parameter changes", | ||
mutate: func(daemonset *appsv1.DaemonSet) { | ||
daemonset.Spec.UpdateStrategy.RollingUpdate.MaxSurge = pointerTo(intstr.FromString("10%")) |
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.
This is not a change, is it?
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.
I guess it is. I expected that you would have used the manifest values as the base, but upon further checking, you didn't.
{ | ||
description: "if spec.minReadySeconds changes", | ||
mutate: func(daemonset *appsv1.DaemonSet) { | ||
daemonset.Spec.MinReadySeconds = 9 |
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.
This is also not a change.
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.
I guess it is. I expected that you would have used the manifest values as the base, but upon further checking, you didn't.
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: candita The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Miciah: Jira Issue OCPBUGS-20024: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-20024 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Followup to PR openshift#384. - pkg/operator/controller/controller_dns_node_resolver_daemonset.go - small update to a comment - pkg/operator/controller/dns_status.go - hardcode maxUnavailable to 10% of desiredNumberScheduled and remove condition "invalid maxUnavailable value" - pkg/operator/controller/dns_status_test.go - remove maxUnavailable format testing
Followup to PR openshift#384. - pkg/operator/controller/controller_dns_node_resolver_daemonset.go - small update to a comment - pkg/operator/controller/dns_status.go - hardcode maxUnavailable to 10% of desiredNumberScheduled - pkg/operator/controller/dns_status_test.go - remove maxUnavailable format testing
Followup to PR openshift#384. - pkg/operator/controller/controller_dns_node_resolver_daemonset.go - small update to a comment - pkg/operator/controller/dns_status.go - hardcode maxUnavailable to 10% of desiredNumberScheduled - pkg/operator/controller/dns_status_test.go - remove maxUnavailable format testing and cleanup noderesolver testing
Followup to PR openshift#384. - pkg/operator/controller/controller_dns_node_resolver_daemonset.go - small update to a comment - pkg/operator/controller/dns_status.go - hardcode maxUnavailable to 10% of desiredNumberScheduled - pkg/operator/controller/dns_status_test.go - remove maxUnavailable format testing and cleanup noderesolver testing
Fix included in accepted release 4.15.0-0.nightly-2023-11-01-040931 |
Followup to PR openshift#384. - pkg/operator/controller/controller_dns_node_resolver_daemonset.go - small update to a comment - pkg/operator/controller/dns_status.go - hardcode maxUnavailable to 10% of desiredNumberScheduled - pkg/operator/controller/dns_status_test.go - remove maxUnavailable format testing and cleanup noderesolver testing
Fix included in accepted release 4.15.0-0.nightly-2024-01-05-151121 |
The defect in the daemon controller, OCPBUGS-19452 that prevented us from using
maxSurge
has been fixed by openshift/kubernetes#1716.This reverts #379.