Skip to content

Commit f087f05

Browse files
committed
Manifests
1 parent 0e32a18 commit f087f05

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

deployments/kai-scheduler/crds/kai.scheduler_schedulingshards.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ spec:
5555
* Only valid flags defined in the scheduler's flag set will be accepted
5656
* Duplicated flags will override the behavior of flags generated by other fields
5757
type: object
58+
kValue:
59+
description: KValue specifies the kValue for the proportion plugin.
60+
Default is 1.0.
61+
type: number
5862
minRuntime:
5963
description: MinRuntime specifies the minimum runtime of a jobs in
6064
the shard
@@ -87,6 +91,55 @@ spec:
8791
description: QueueDepthPerAction max number of jobs to try for action
8892
per queue
8993
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
90143
type: object
91144
status:
92145
description: SchedulingShardStatus defines the observed state of SchedulingShard

0 commit comments

Comments
 (0)