Skip to content

Commit

Permalink
Add docs on using NMState CR knobs (#879)
Browse files Browse the repository at this point in the history
The NodeSelector, Tolerations, InfraNodeSelector and InfraTolerations are now documented in the User guide.

Signed-off-by: Tomas Psota <[email protected]>
  • Loading branch information
tompsota authored Nov 24, 2021
1 parent 00e524f commit be1ec49
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/user-guide/102-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,22 @@ node05.linux-bridge-maxunavailable Progressing
node06.linux-bridge-maxunavailable Pending
```

# Component Placement

In NMState, you can constrain assignment of kubernetes-nmstate components to individual nodes. There are the following options:

- **NodeSelector**
- Optional. If specified, handler pods will run only on nodes matching the selector.
- **Tolerations**
- Optional. With tolerations, handler pods will be scheduled onto appropriate nodes.
- **InfraNodeSelector**
- Optional. If specified, webhook and certmanager pods will run only on nodes matching the selector.
- **InfraTolerations**
- Optional. With tolerations, webhook and certmanager pods will be scheduled onto appropriate nodes.


See Scheduling chapter of the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/) for more information.

## Continue reading

The following tutorial will guide you through troubleshooting of a failed
Expand Down

0 comments on commit be1ec49

Please sign in to comment.