-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Document entry-point for user-provided custom MachineConfig #1331
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
Document entry-point for user-provided custom MachineConfig #1331
Conversation
The troubleshooting commit seems orthogonal (and it's in #1329). Can we drop it here? |
7b67359
to
955510c
Compare
955510c
to
0c6b6e7
Compare
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.
Just a few thoughts. Docs are so helpful though! 👍
``` | ||
|
||
```console | ||
$ oc --config no-taint-cluster/auth/kubeconfig get nodes -ojson | jq '.items[] | select(.metadata.labels."node-role.kubernetes.io/master" == "") | .spec.taints' |
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.
Add a line about what this is doing (esp bc this is half hidden in my browser so the full command isn't visible without lots of scrolling).
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
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.
Perfecto!!
``` | ||
|
||
```console | ||
oc --config no-taint-cluster/auth/kubeconfig get machineconfigs |
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.
Add a line about what this is doing?
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
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.
nice!
44f0909
to
88d4374
Compare
docs/user/customization.md
Outdated
@@ -64,4 +64,172 @@ An example `worker.ign` is shown below. It has been modified to increase the HTT | |||
} | |||
``` | |||
|
|||
## Install Time Customization for Machine Configuration |
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.
Should this go under here, since that's the section about manifests
? Or do you want to avoid going into detail there and maybe just link out to this new section?
88d4374
to
9e58008
Compare
ping @wking |
docs/user/customization.md
Outdated
``` | ||
|
||
[default-kubelet-service]: https://github.com/openshift/machine-config-operator/blob/master/templates/master/01-master-kubelet/_base/units/kubelet.yaml | ||
[ignition]: https://coreos.com/ignition/docs/latest/ |
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 these references should stay at the bottom of the file (e.g. the [ignition]
reference is (also?) consumed by the next OS Customization (unvalidated)
section.
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.
moved ignition by mistake. fixed
but looks like other sections have their own anchors https://github.com/openshift/installer/pull/1331/files#diff-ae4bcbdd69693a4977c2088180a61927R19 so keeping the rest as-is.
…tion The docs include an example for removing `NoSchedule` taint on masters to allow for single master cluster. Although the changes described in the example are not completely sufficient to achieve the single master cluster, as few operators specifcally set workloads to worker nodes. I chose this example because the Code Ready Containers team will be using somehting similar to achieve single node libvirt cluster.
9e58008
to
0900249
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
xref: https://jira.coreos.com/browse/CORS-799