volcano.sh/volcano@v1.9.0/docs/design/podgroup-condition-reason.md (about) 1 # podgroup conditions 2 3 ## Backgrounds 4 5 Currently, there are only two podgroup condition type: `Unschedulable` and `Scheduled`. If job is not enqueued, it has not been scheduled. And the event reason is `Unschedulable` and podgroup condition reason is `NotEnoughResources`. These reasons is not coresponding with the real reason `job is not enqueued` 6 7 ## Motivation 8 9 In order to classify the uninqueueable reason from other unscheduleable reasons 10 11 ## Design 12 13 1. add `Uninqueueable` reason for podgroup events 14 15 ```go 16 // PodGroupUnInqueueable is Uninqueueable event type 17 PodGroupUnInqueueable PodGroupConditionType = "Uninqueueable" 18 ``` 19 20 2. add `NotInqueueable` reason for podgroup conditions reason 21 22 ```go 23 // NotInqueueableReason if probed if job is rejected to enqueue 24 NotInqueueableReason string = "NotInqueueable" 25 ```