-
Notifications
You must be signed in to change notification settings - Fork 413
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
support kernel arguments #388
Comments
@runcom ^^ |
A lot of discussion around this; see this pivot discussion. One thing that seems increasingly clear is that we should use IOW, we start from this:
|
cannot agree more with this... |
the MCD in There's an alternative implementation path where the MCD reads the BLS config performs the diff internally, and calls the appropriate |
if coreos/rpm-ostree#1802 provides a way to achieve the above it would be my preferred way. |
been thinking about this...do we want Kargs to be a list of "changes" over the current kargs on a boot? I suppose so, but we need to have some sort of syntax to describe that in the CRD or whatever. Also |
also, for fips we need to also specify boot:
uuid=$(findmnt -no uuid /boot) Last one for now, do we do this early pivot or day-2? both? (probably both, just triple checking) |
Can we also support this feature in RHEL based cluster? I think it would be great, if MCO can expose the same API for all the operating systems we support. So that, users don't have to implement other automation solution by their own, and it would also be beneficial for other component which relay on this feature, to work cross the operating systems. |
Probably. I bet it wouldn't be hard at all, but I'd like to land the feature for RHCOS first. |
We need to support things like adding `nosmt` to the kernel commandline, for users that want to choose security over performance; this is particularly relevant for multi-tenant clusters. There are a lot of other "tuning" features that are expressed as kernel cmdline args; another good exmaple is to have `node-tuning-operator` to write something like `machineconfig/05-node-tuning-operator`. Per discussion in the PR, we down the line probably want to add an `operatingsystem` type or so that would be a high level wrapper for this, but today everything else is expressed in `MachineConfig`, so we need to extend this type. There have also been some discussions about extending Ignition, but that's not likely to land soon, and even if it did we still need to handle "early pivot" pulling `machine-os-content`, and scoping both OS updates and kargs into Ignition is too far out. This is the first step which will support "day 2" configuration. After this lands, we have further work to have the MCS provide `MachineConfig` and not just Ignition, so that we can replace the "early pivot" with MCD code. Closes: openshift#388
We landed a lot of good work in
rpm-ostree kargs
. What we need to do is wrap that in MachineConfigs. One decision point is whether this is an extension to Ignition (if specified then does Ignition reboot?). Or is it a new item in the MachineConfig spec itself?And the MCD would need to understand how to reconcile the user-specified kargs versus what's the default.
The text was updated successfully, but these errors were encountered: