Skip to content
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

Stop reporting ReplicaSets #2957

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Stop reporting ReplicaSets #2957

merged 1 commit into from
Dec 5, 2017

Conversation

rbruggem
Copy link
Contributor

@rbruggem rbruggem commented Dec 4, 2017

Also, add Deployment as Pod parent.
Fixes #2662

@rbruggem rbruggem requested a review from rade December 4, 2017 14:20
@@ -446,7 +393,7 @@ func match(namespace string, selector labels.Selector, topology, id string) func
}
}

func (r *Reporter) podTopology(services []Service, replicaSets []ReplicaSet, daemonSets []DaemonSet, statefulSets []StatefulSet, cronJobs []CronJob) (report.Topology, error) {
func (r *Reporter) podTopology(services []Service, daemonSets []DaemonSet, statefulSets []StatefulSet, cronJobs []CronJob, deployments []Deployment) (report.Topology, error) {

This comment was marked as abuse.

report.ReplicaSet,
report.MakeReplicaSetNodeID(replicaSet.UID()),
report.Deployment,
report.MakeDeploymentNodeID(deployment.UID()),

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

Also, add Deployment as Pod parent.
@rbruggem rbruggem force-pushed the probe-no-replicasets branch from e51adfe to b522443 Compare December 4, 2017 17:43
Copy link
Member

@rade rade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Per #2662 (comment), please file an issue to move the logic from selectPodsWithDeployments.Render() to Report.Upgrade().

@rbruggem rbruggem merged commit 1669ff8 into master Dec 5, 2017
@rbruggem rbruggem deleted the probe-no-replicasets branch December 5, 2017 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants