Skip to content

Commit

Permalink
Behavior of the priority field
Browse files Browse the repository at this point in the history
  • Loading branch information
aleskandro committed Feb 6, 2025
1 parent 7f13afc commit ba58c76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/enhancements/MTO-0002-local-pod-placement.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ All the RBAC rules for the local pod placement controller and the local mutating

### Implementation Details/Notes/Constraints

- The priority field is an 8-bit unsigned integer, ranging from 0 to 255. The higher the value, the higher the priority.
- When a Pod Placement Config is created, the operator will validate the priority field to ensure it is within the valid range and that no other Pod Placement Config in the same namespace has the same priority.
- If the `priority` field is omitted, the operator will default to `255` or the lowest priority among the existing Pod Placement Configs in the same namespace decreased by 1.

### Risks and Mitigations

### Drawbacks
Expand Down

0 comments on commit ba58c76

Please sign in to comment.