-
Notifications
You must be signed in to change notification settings - Fork 60
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
Implement operator logic #25
Changes from all commits
4e5621a
d0b58db
89d921c
195dd9f
b9ed4e6
cc903d3
c58d32f
4e7b6d9
3bb4d65
333d284
306f0ba
6be8f31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -3,5 +3,16 @@ kind: PerformanceProfile | |||
metadata: | ||||
name: example-performanceprofile | ||||
spec: | ||||
# Add fields here | ||||
size: 3 | ||||
cpu: | ||||
isolated: "2-3" | ||||
nonIsolated: "0" | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you please clarify the state of CPU 1? how could it be neither There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe even add a validation hook on that later on ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is just example that will be injected under the CSV and does not the real case performance-addon-operators/pkg/controller/performanceprofile/performanceprofile_controller.go Line 229 in fd9054e
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ack, good enough for me now There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMHO examples should be easy to understand, people will see and copy/paste this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @slintes this CR example injected into CSV, so I do not add some comments to it(unsure regarding parsing), what example do you prefer? |
||||
reserved: "0-1" | ||||
hugepages: | ||||
defaultHugepagesSize: "1G" | ||||
pages: | ||||
- size: "1G" | ||||
count: 2 | ||||
realTimeKernel: | ||||
repoURL: "http://download-node-02.eng.bos.redhat.com/rhel-8/nightly/RHEL-8/latest-RHEL-8.1.1/compose/RT/x86_64/os" | ||||
nodeSelector: | ||||
node-role.kubernetes.io/performance: "" |
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.
Could you please add a one-line comment to remind our future selves what "None namespace" means in this context? (e.g. watch all the namespaces, even though IIRC this is not the case)
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.
done