Skip to content

Commit

Permalink
docs: add formal definition for taints & tolerations (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvindthiru committed May 22, 2024
1 parent 5893c9c commit f3e7289
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/concepts/ClusterResourcePlacement/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ Events:

## Tolerations

Tolerations are a mechanism to allow the Fleet Scheduler to schedule resources to a `MemberCluster` that has taints specified on it.
We adopt the concept of [taints & tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
introduced in Kubernetes to the multi-cluster use case.

The `ClusterResourcePlacement` CR supports the specification of list of tolerations, which are applied to the `ClusterResourcePlacement`
object. Each Toleration object comprises the following fields:
- `key`: The key of the toleration.
Expand Down
4 changes: 4 additions & 0 deletions docs/concepts/MemberCluster/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ namespaces on the hub cluster.

## Taints

Taints are a mechanism to prevent the Fleet Scheduler from scheduling resources to a `MemberCluster`. We adopt the concept of
[taints and tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/) introduced in Kubernetes to
the multi-cluster use case.

The `MemberCluster` CR supports the specification of list of taints, which are applied to the `MemberCluster`. Each Taint object comprises
the following fields:
- `key`: The key of the taint.
Expand Down

0 comments on commit f3e7289

Please sign in to comment.