no-jira: collect OS Image Stream resource#533
no-jira: collect OS Image Stream resource#533patrickdillon wants to merge 1 commit intoopenshift:mainfrom
Conversation
Adds collection of OS Image Stream resource.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdded a new OS Image Stream resource group ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: patrickdillon The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@patrickdillon: This pull request explicitly references no jira issue. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/testwith openshift/installer/main/e2e-aws-ovn-rhel10-devpreview openshift/installer#10357 |
|
@patrickdillon, |
|
@patrickdillon: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
A single cluster scoped CR with few KBs at most? |
Thanks for taking a look. Good question, I'm only familiar with the installer piece where we are laying down the manifest, which is indeed super simple. # cat c/openshift/99_osimagestream.yamlapiVersion: machineconfiguration.openshift.io/v1alpha1
kind: OSImageStream
metadata:
name: cluster
spec:
defaultStream: rhel-10@pablintino does anything update the status or does this CR grow? |
|
@patrickdillon oh! I wasn't expecting someone taking care of this important side, must-gather, thanks for taking a look :) I had this in mind, but I was thinking adding the CR to this list https://github.com/openshift/machine-config-operator/blob/c564b220f27b907206273edaaa0ee9f037b796ff/install/0000_80_machine-config_06_clusteroperator.yaml#L16. Not sure which path is better. I didn't even tried because it's still TP and I wasn't sure what to expect from must-gather or relatedObjects for TP CRDs. About the size, yes, it grows, but not much. This is an example: 1KB at most? the status is just a list of the stream images, and we have only 2 streams. In the future we will have more, but no more than ~5 I think. |
@pablintino yeah I was about to message you directly. This came up when I was trying to validate another PR. I figured I would open the PR because it looked super simple, and sometimes it's easier to just take care of things rather than discuss them. On the other hand, looks can be deceiving and things are not simple. If this is on your radar, I'm happy to close/defer this until you are working on it.
I wasn't even aware of this, and so perhaps it makes more sense for an MCO developer to look there. :D |
|
@patrickdillon no worries, thanks for the taking care of it. I'm gonna ask @djoshy about how |
|
@patrickdillon I has a quick chat with the team and I think I miss-understood the purpose of related objects. When we have added CRDs to must-gather we did this #487 so I think your approach should be good. |
|
No objection here. It's mainly up to you what you need to collect. It's just important to keep in mind how much extra data will get collected, whether this is going to be collected by default and whether you are excluding user created objects. |
Adds collection of OS Image Stream resource.