@@ -626,16 +626,32 @@ spec:
626
626
type : number
627
627
type : object
628
628
type : object
629
+ minIgnoredReclaimedResourceForReport :
630
+ additionalProperties :
631
+ anyOf :
632
+ - type : integer
633
+ - type : string
634
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
635
+ x-kubernetes-int-or-string : true
636
+ description : ' MinIgnoredReclaimedResourceForReport defines
637
+ per-resource minimum thresholds. If ANY resource'' s current
638
+ reclaimed amount falls below its respective threshold, ALL
639
+ reclaimed resources will be ignored and reported as zero.
640
+ This prevents resource fragmentation in quota calculations
641
+ by avoiding reporting insignificant reclaimed quantities.
642
+ For example, {"cpu": 0.1, "memory": 100Mi}.'
643
+ type : object
629
644
minReclaimedResourceForAllocate :
630
645
additionalProperties :
631
646
anyOf :
632
647
- type : integer
633
648
- type : string
634
649
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
635
650
x-kubernetes-int-or-string : true
636
- description : MinReclaimedResourceForAllocate is a resource
651
+ description : ' MinReclaimedResourceForAllocate is a resource
637
652
reserved for reclaimed_cores pods,these resources will not
638
- be used by shared_cores pods.
653
+ be used by shared_cores pods. For example, {"cpu": 4, "memory":
654
+ 0Gi}.'
639
655
type : object
640
656
minReclaimedResourceForReport :
641
657
additionalProperties :
@@ -644,10 +660,11 @@ spec:
644
660
- type : string
645
661
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
646
662
x-kubernetes-int-or-string : true
647
- description : MinReclaimedResourceForReport is a minimum reclaimed
663
+ description : ' MinReclaimedResourceForReport is a minimum reclaimed
648
664
resource for report to custom node resource, which means
649
665
if reclaimed resource is less than MinReclaimedResourceForReport,
650
666
then reclaimed resource will be reported as MinReclaimedResourceForReport.
667
+ For example, {"cpu": 4, "memory": 5Gi}.'
651
668
type : object
652
669
reservedResourceForAllocate :
653
670
additionalProperties :
@@ -656,10 +673,11 @@ spec:
656
673
- type : string
657
674
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
658
675
x-kubernetes-int-or-string : true
659
- description : ReservedResourceForAllocate is a resource reserved
676
+ description : ' ReservedResourceForAllocate is a resource reserved
660
677
for non-reclaimed_cores pods that are not allocated to reclaimed_cores
661
678
pods. It is used to set aside some buffer resources to avoid
662
- sudden increase in resource requirements.
679
+ sudden increase in resource requirements. For example, {"cpu":
680
+ 4, "memory": 5Gi}.'
663
681
type : object
664
682
reservedResourceForReport :
665
683
additionalProperties :
@@ -668,10 +686,10 @@ spec:
668
686
- type : string
669
687
pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
670
688
x-kubernetes-int-or-string : true
671
- description : ReservedResourceForReport is a reserved resource
689
+ description : ' ReservedResourceForReport is a reserved resource
672
690
for report to custom node resource, which is used to prevent
673
691
reclaim resource from being requested by reclaimed_cores
674
- pods.
692
+ pods. For example, {"cpu": 0, "memory": 0Gi}. '
675
693
type : object
676
694
type : object
677
695
type : object
0 commit comments