-
Notifications
You must be signed in to change notification settings - Fork 303
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
Add events for major lifecycle events #1137
Conversation
/assign @rramkumar1 |
"testing" | ||
) | ||
|
||
func TestTruncatedStringList(t *testing.T) { |
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.
address TODO
"k8s.io/client-go/tools/record" | ||
) | ||
|
||
const ( | ||
AddNodes = "IngressGCE_AddNodes" | ||
RemoveNodes = "IngressGCE_RemoveNodes" |
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.
Why do we need the IngressGCE prefix? Is it to distinguish from other Ingress controllers for the same type of action?
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.
The event is not associated with a resource, so there is no other way to tell where this event came from.
IPChanged = "IPChanged" | ||
GarbageCollection = "GarbageCollection" | ||
|
||
SyncService = "Sync" |
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.
what is the difference between this and SyncIngress?
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.
the value is the same, but this identifies it so we can easily change it if needed
ea114ca
to
c132c24
Compare
26b2c18
to
00b6ea4
Compare
{Add,Remove}Nodes from InstanceGroup SyncIngress, TranslateIngress, IPChanged, GarbageCollection
@rramkumar1 PTAL |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bowei, rramkumar1 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 |
{Add,Remove}Nodes from InstanceGroup
SyncIngress, TranslateIngress, IPChanged, GarbageCollection