-
Notifications
You must be signed in to change notification settings - Fork 244
Add kata runtime class to Assisted installer #8140
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
base: master
Are you sure you want to change the base?
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: xiangchunfu 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 |
|
Fail to install osc operator and kata runtimeclass in Assisted installer UI. This is part of bootkube.logs: |
| const oscKataConfigManifest = ` | ||
| apiVersion: kataconfiguration.openshift.io/v1 | ||
| kind: KataConfig | ||
| metadata: | ||
| name: cluster-kataconfig | ||
| spec: | ||
| enablePeerPods: false | ||
| logLevel: info | ||
| ` |
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.
@jhernand it looks like this operator needs this CRD first. I don't see any operator adding CRDs, would you recommend this path or do you know any other better way to achieve this?
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.
I think this may not work. These manifests are created all together, so there is no guarantee that the operator (created as a result of the subscription) will be already available, and therefore the custom resource definitions will not be available yet. It would be better to create it as part of the "custom manifests". Those are the second return value of the Manifests function (currently nil):
| return openshiftManifests, nil, err |
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.
Following this suggestion. I updated this function and it works well now.
|
Test result: oc get operatorsNAME AGE oc get runtimeclassNAME HANDLER AGE #cat kata-pod.yaml
oc apply -f kata-pod.yamloc get podsNAME READY STATUS RESTARTS AGE |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8140 +/- ##
==========================================
+ Coverage 43.12% 43.22% +0.09%
==========================================
Files 404 404
Lines 69775 69942 +167
==========================================
+ Hits 30093 30231 +138
- Misses 36989 37004 +15
- Partials 2693 2707 +14
🚀 New features to boost your workflow:
|
|
/retest |
|
/test edge-e2e-ai-operator-ztp |
|
/test edge-lint |
1 similar comment
|
/test edge-lint |
|
@xiangchunfu: The following test failed, say
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. |
|
@rccrdpccl @jhernand Could you help to continue reviewing it? Thanks! |

List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs, README, etc)Reviewers Checklist