Skip to content

Replace pod name label in broker stats_reporter with random unique name#2451

Merged
knative-prow-robot merged 5 commits into
knative:masterfrom
yolocs:f/randlabel
Jan 28, 2020
Merged

Replace pod name label in broker stats_reporter with random unique name#2451
knative-prow-robot merged 5 commits into
knative:masterfrom
yolocs:f/randlabel

Conversation

@yolocs
Copy link
Copy Markdown
Contributor

@yolocs yolocs commented Jan 27, 2020

Fixes #2405
Also related to: #2425

Proposed Changes

The pod name was used to only keep the labels unique when working with stackdriver. Replace it with random unique id so that downward API (ksvc doesn't support downward API at the moment) is not needed in the podspec to reference the pod name.

Release Note

Replace pod name label in broker stats_reporter with random unique name

@knative-prow-robot knative-prow-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 27, 2020
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jan 27, 2020
@mikehelmick
Copy link
Copy Markdown
Contributor

/assign
/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2020
@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Jan 27, 2020

/hold

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2020
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 27, 2020
@yolocs yolocs changed the title Replace container name label in broker stats_reporter with random unique name Replace pod name label in broker stats_reporter with random unique name Jan 27, 2020
@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Jan 27, 2020

/unhold

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 27, 2020
Comment thread cmd/broker/filter/main.go Outdated
Comment thread cmd/broker/ingress/main.go Outdated
Comment thread cmd/broker/filter/main.go Outdated
Comment thread cmd/broker/filter/main.go Outdated
@n3wscott
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 28, 2020
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: n3wscott, yolocs

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 28, 2020
@yolocs
Copy link
Copy Markdown
Contributor Author

yolocs commented Jan 28, 2020

/test pull-knative-eventing-unit-tests

@knative-prow-robot knative-prow-robot merged commit 7e67628 into knative:master Jan 28, 2020
@yolocs yolocs deleted the f/randlabel branch January 28, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make broker ingress/filter serving compatible

5 participants