Add support for baremetal platform#846
Add support for baremetal platform#846openshift-merge-robot merged 1 commit intoopenshift:masterfrom
Conversation
|
/assign @cgwalters |
|
Hm I had more been thinking that you were asking if it was OK to carry a patch to do that downstream but I guess I kind of painted myself into a corner and I understand the urgency behind de-forking so It's again sort of unfortunate because we just de-forked the OpenStack one but... |
For IPI baremetal, we need to support the platform in MCO. This overrides the kubelet config to remove the NoSchedule taint, until the baremetal platform in the installer can deploy a worker.
Pushed a change to resolve conflicts due to #842. @cgwalters I totally understand, I will submit a PR to remove this the second it's possible to. Thanks. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, stbenjam The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@derekwaynecarr I wonder if this is a bad idea, and if it should be reverted. |
|
FWIW it should be relatively short lived, on the order of weeks I hope. Reverting this now means prolonging the existence of the kni-installer fork... |
|
I don’t understand why this was needed to avoid the kni installer fork. We were always making masters schedulable as a day 2 operation, not via the installer. This isn’t the behavior we want for all IPI baremetal environments. It’s only applicable to some. |
Sorry, you missed the discussion last week during our status call. Baremetal IPI environment is not installable without removing the NoSchedule taint from the masters. The ingress, monitoring, and image registry pods can't be scheduled, and installation does not complete. You cannot get a running cluster without this. Once workers get deployed with the installer that would change, but the timeline for that happening isn't clear yet. The goal is to have a PR open to openshift/installer with our code by the end of this sprint, and we need to remove the early exit and all of the hacks in 06_create_cluster.sh. |
OK, thanks. That explains why this applies to all usage of the baremetal platform type. Once workers come up without any extra intervention, then this could be removed, which could be before #763 is resolved |
For IPI baremetal, we need to support the platform in MCO. This PR also overrides the kubelet config to remove the NoSchedule taint.
Currently in the baremetal IPI installer fork, we have to bail out of the installer early to take care of some things - one of those things is disabling NoSchedule taints: https://github.com/openshift-metal3/dev-scripts/blob/master/06_create_cluster.sh#L82-L83
We are anxious to get an experimental version of this platform into openshift/installer, but need to resolve this issue first. This adds the barematel platform to MCO, and overrides the kubelet config.
Once #763 is resolved, this can move to the new mechanism, or alternatively once we have workers being deployed (currently work in progress) we won't need the override at all .
See #722 for additional background. GitHub won't let me re-open that PR.