Skip to content

[enterprise-4.3] Edit suggested in file machine_management/creating-infrastructure-machinesets.adoc #20688

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

Closed
kfryklund opened this issue Mar 25, 2020 · 5 comments
Assignees
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@kfryklund
Copy link

Which section(s) is the issue in?

I'd like to suggest we append some additional information to this doc

What needs fixing?

Please add the following sub sections to this documentation:

  1. How to prevent normal user applications from landing on infra nodes. Whether this be by using taints or by editing the cluster scheduler with something like "defaultNodeSelector: node-role.kubernetes.io/worker=" as detailed here [1]. Or, if there's another preferred method.
  2. How to create new machineConfigPools for your infrastructure nodes. This is very easy, but not detailed in the documentation. It as already been documented in a redhat article here [2]

[1] https://docs.openshift.com/container-platform/4.3/nodes/scheduling/nodes-scheduler-node-selectors.html#nodes-scheduler-node-selectors-cluster_nodes-scheduler-node-selectors
[2] https://access.redhat.com/solutions/4342791

@yrro
Copy link

yrro commented Jun 8, 2020

  1. How to create new machineConfigPools for your infrastructure nodes. This is very easy, but not detailed in the documentation. It as already been documented in a redhat article here [2]

[2] https://access.redhat.com/solutions/4342791

This results in infra nodes having both the infra role (from the newly created *-infra MachineSet) and the worker role (from the 01-worker-kubelet MachineConfig). It's not documented how to then prevent your workloads from placing on the infra nodes without further work:

If there is a way to annotate a project to say "deploy on nodes with role worker and without role infra then I couldn't find it.

I ended up modifying my *-worker MachineSet to add an additional app role to the machines it creates, and then deleted my worker machines. Once new nodes had finished bootstrapping they came up with both the worker and app rules. It's then easy to configure projects to schedule only on app nodes.

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci-robot openshift-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 20, 2020
@openshift-bot
Copy link

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci-robot openshift-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Nov 19, 2020
@openshift-bot
Copy link

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci-robot
Copy link

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
None yet
Development

No branches or pull requests

5 participants