|
55 | 55 | * Only valid flags defined in the scheduler's flag set will be accepted |
56 | 56 | * Duplicated flags will override the behavior of flags generated by other fields |
57 | 57 | type: object |
| 58 | + kValue: |
| 59 | + description: KValue specifies the kValue for the proportion plugin. |
| 60 | + Default is 1.0. |
| 61 | + type: number |
58 | 62 | minRuntime: |
59 | 63 | description: MinRuntime specifies the minimum runtime of a jobs in |
60 | 64 | the shard |
|
87 | 91 | description: QueueDepthPerAction max number of jobs to try for action |
88 | 92 | per queue |
89 | 93 | type: object |
| 94 | + usageDBConfig: |
| 95 | + description: UsageDBConfig defines configuration for the usage db |
| 96 | + client |
| 97 | + properties: |
| 98 | + clientType: |
| 99 | + type: string |
| 100 | + connectionString: |
| 101 | + type: string |
| 102 | + connectionStringEnvVar: |
| 103 | + type: string |
| 104 | + usageParams: |
| 105 | + description: UsageParams defines common params for all usage db |
| 106 | + clients. Some clients may not support all the params. |
| 107 | + properties: |
| 108 | + extraParams: |
| 109 | + additionalProperties: |
| 110 | + type: string |
| 111 | + description: ExtraParams are extra parameters for the usage |
| 112 | + db client, which are client specific. |
| 113 | + type: object |
| 114 | + fetchInterval: |
| 115 | + description: Fetch interval of the usage. Default is 1 minute. |
| 116 | + type: string |
| 117 | + halfLifePeriod: |
| 118 | + description: Half life period of the usage. If not set, or |
| 119 | + set to 0, the usage will not be decayed. |
| 120 | + type: string |
| 121 | + stalenessPeriod: |
| 122 | + description: Staleness period of the usage. Default is 5 minutes. |
| 123 | + type: string |
| 124 | + tumblingWindowCronString: |
| 125 | + description: A cron string used to determine when to reset |
| 126 | + resource usage for all queues. |
| 127 | + type: string |
| 128 | + waitTimeout: |
| 129 | + description: Wait timeout of the usage. Default is 1 minute. |
| 130 | + type: string |
| 131 | + windowSize: |
| 132 | + description: Window size of the usage. Default is 1 week. |
| 133 | + type: string |
| 134 | + windowType: |
| 135 | + description: Window type for time-series aggregation. If not |
| 136 | + set, defaults to sliding. |
| 137 | + type: string |
| 138 | + type: object |
| 139 | + required: |
| 140 | + - clientType |
| 141 | + - connectionString |
| 142 | + type: object |
90 | 143 | type: object |
91 | 144 | status: |
92 | 145 | description: SchedulingShardStatus defines the observed state of SchedulingShard |
|
0 commit comments