-
Notifications
You must be signed in to change notification settings - Fork 38.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
Migrated ipvs/proxier.go(remaining) to structured logging #105770
Migrated ipvs/proxier.go(remaining) to structured logging #105770
Conversation
@shivanshu1333: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
/assign @serathius |
/wg structured-logging |
/remove do-not-merge/contains-merge-commits |
03a647e
to
97578e6
Compare
using label to squash |
ping @serathius for re-review |
/lgtm |
/retest |
ping @MrHohn for approval |
/retest |
/retest |
/retest-required |
/honk |
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. |
/test pull-kubernetes-e2e-gci-gce-ipvs |
@@ -1982,15 +1982,15 @@ func (proxier *Proxier) syncService(svcName string, vs *utilipvs.VirtualServer, | |||
if appliedVirtualServer == nil || !appliedVirtualServer.Equal(vs) { | |||
if appliedVirtualServer == nil { | |||
// IPVS service is not found, create a new service | |||
klog.V(3).InfoS("Adding new service", "svcName", svcName, "address", fmt.Sprintf("%s:%d/%s", vs.Address, vs.Port, vs.Protocol)) | |||
klog.V(3).InfoS("Adding new service", "serviceName", svcName, "virtualServer", vs) |
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.
good catch, it has a stringer
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.
Thanks!
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aojea, shivanshu1333 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 |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Fixed incorrectly migrated logs
Migrated some missing logs to structured logging
Which issue(s) this PR fixes:
Ref: #104872
Special notes for your reviewer:
In this PR, I've cleaned up some improperly migrated logs, going forward we need to figure out a way to make every migration follow the guide, #105718 (comment)
Also, this PR contains the remaining partial migration of ipvs/proxier.go after #105769
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: