-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
UPSTREAM: 32000: Update node status instead of node in kubelet #10790
Conversation
LGTM |
actually, split the commit into an UPSTREAM and a |
@@ -1242,7 +1242,7 @@ func (kl *Kubelet) tryRegisterWithApiServer(node *api.Node) bool { | |||
// controller-managed attach detach annotation for this node. | |||
requiresUpdate := kl.reconcileCMADAnnotationWithExistingNode(node, existingNode) | |||
if requiresUpdate { | |||
if _, err := kl.kubeClient.Core().Nodes().Update(existingNode); err != nil { | |||
if _, err := kl.kubeClient.Core().Nodes().UpdateStatus(existingNode); err != nil { |
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 line needs to go in a commit titled: UPSTREAM: <carry>: Tolerate node ExternalID changes with no cloud provider
7974b4a
to
d1bc56c
Compare
@liggitt updated |
LGTM, [merge] |
blocked by #10795 |
[merge] |
Evaluated for origin merge up to d1bc56c |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/8693/) (Image: devenv-rhel7_4976) |
Needed to avoid changing the permissions of the node role.