forked from gocardless/theatre
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation after gocardless#276
After removed pod priority mutate webhook these docs are not relevant anymore. gocardless#276 Signed-off-by: Raúl Naveiras <me@raulnaveiras.com>
- Loading branch information
Showing
2 changed files
with
1 addition
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,7 @@ | ||
# Workloads | ||
|
||
This package contains the CRDs and webhooks for | ||
[Consoles](../../../controllers/workloads/console/README.md) and [Default priority | ||
classes](#default-priority-classes). | ||
This package contains the CRDs and webhooks for: | ||
|
||
## Consoles | ||
|
||
See [Consoles controller documentation](../../../controllers/workloads/console/README.md). | ||
|
||
## Default Priority Classes | ||
|
||
Priority classes can be really useful to separate critical from optional | ||
workloads. It's normal for all workloads within a particular namespace to have | ||
the same priority class, but it's not possible to set a default on a namespace. | ||
|
||
This package implements a webhook that permits setting a default priority class | ||
for a given namespace. By applying the label `theatre-priority-injector: | ||
<priority-class-name>` onto your namespace, you'll activate the webhook for all | ||
pods. | ||
|
||
If a pod already has a priority class, it will be ignored. Otherwise the pods | ||
priority is set to match that of the namespace label. |