Skip to content

RFE-7406: Include the K8s ingress resource in namespace inspect collection #2004

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

oarribas
Copy link
Contributor

@oarribas oarribas commented Apr 9, 2025

Including the K8s ingress.networking.k8s.io resource in namespace inspect collections could help to identify if the K8s ingress is in use.
It shouldn't increase the size of the inspect or must-gather a lot, as the resource shouldn't be too big.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Apr 9, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 9, 2025

@oarribas: This pull request references RFE-7406 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the feature request to target the "4.19.0" version, but no target version was set.

In response to this:

Including the K8s ingress.networking.k8s.io resource in namespace inspect collections could help to identify the K8s ingress is in use.
It shouldn't increase the size of the inspect or must-gather a lot, as the resource shouldn't be too big.

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from atiratree and deads2k April 9, 2025 16:01
Copy link
Contributor

openshift-ci bot commented Apr 9, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: oarribas
Once this PR has been reviewed and has the lgtm label, please assign ingvagabund for approval. For more information see the Code Review Process.

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

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

@openshift-ci-robot
Copy link

openshift-ci-robot commented Apr 9, 2025

@oarribas: This pull request references RFE-7406 which is a valid jira issue.

In response to this:

Including the K8s ingress.networking.k8s.io resource in namespace inspect collections could help to identify if the K8s ingress is in use.
It shouldn't increase the size of the inspect or must-gather a lot, as the resource shouldn't be too big.

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 openshift-eng/jira-lifecycle-plugin repository.

@oarribas
Copy link
Contributor Author

/retest

1 similar comment
@oarribas
Copy link
Contributor Author

/retest

@ardaguclu
Copy link
Member

I think, we can't merge anything without having concrete metrics about how the change will impact the logs size and duration -- Especially after trying to fix and lower the logs sizes due to some issues.

I'd prefer waiting for the acceptance of the RFE by the workloads team first.
/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 10, 2025
@oarribas
Copy link
Contributor Author

/retest

@palonsoro
Copy link

@ardaguclu bear in mind that this resource is used only in user application namespaces. This means that must-gather should not collect it and should hence not see a difference in size by default.

The difference in size would happen only when the customer runs the inspect on their own application namespaces (something we need quite often to provide good support). And in that case:

  • Inspects of concrete namespaces are usually not that big.
  • Users have higher control in the size of the inspects (e.g. inspect only one namespace instead of all the impacted ones, setting the pod log sizes...)
  • Increase would be of very few KBs in most cases.

@oarribas
Copy link
Contributor Author

/retest

3 similar comments
@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

it's not clear the test is really failing because the changes in this PR

/retest

@oarribas
Copy link
Contributor Author

/retest

1 similar comment
@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

Checking the failing job [1], I cannot identify where the error with the check is. Not clear if caused by the changes in this PR, or any issue with the check.

/retest

[1] https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_oc/2004/pull-ci-openshift-oc-master-verify/1916749485623480320

@oarribas
Copy link
Contributor Author

/retest

2 similar comments
@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

oarribas commented May 8, 2025

/retest

@oarribas
Copy link
Contributor Author

oarribas commented May 13, 2025

Changed spaces to tabs

@oarribas
Copy link
Contributor Author

/retest

@oarribas
Copy link
Contributor Author

/retest-required

2 similar comments
@oarribas
Copy link
Contributor Author

/retest-required

@oarribas
Copy link
Contributor Author

/retest-required

@oarribas
Copy link
Contributor Author

/retest-required

Copy link
Contributor

openshift-ci bot commented May 30, 2025

@oarribas: all tests passed!

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants