You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/kapacity-manager/templates/crds/autoscaling.kapacitystack.io_horizontalportraits.yaml
+6-4
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,9 @@ spec:
37
37
description: Algorithm is the algorithm for which to use to generate the portrait.
38
38
properties:
39
39
config:
40
-
additionalProperties:
41
-
type: string
42
-
description: 'Config is the general configuration data for arbitrary algorithm those used by external user-defined portraits. TODO: consider if we can make it structural'
40
+
description: Config is the general configuration data for arbitrary algorithm those used by external portrait generators.
43
41
type: object
42
+
x-kubernetes-preserve-unknown-fields: true
44
43
externalJob:
45
44
description: ExternalJob is the configuration for ExternalJob algorithm.
46
45
properties:
@@ -4389,6 +4388,9 @@ spec:
4389
4388
required:
4390
4389
- type
4391
4390
type: object
4391
+
externalGeneratorName:
4392
+
description: ExternalGeneratorName is the identifier of external controller which shall generate this portrait. External controllers should use this field to filter portraits to generate. Kapacity's built-in portrait generators would ignore portraits with this field set.
4393
+
type: string
4392
4394
metrics:
4393
4395
description: Metrics contains the specifications for which to use to generate the portrait.
4394
4396
items:
@@ -4731,7 +4733,7 @@ spec:
4731
4733
type: object
4732
4734
type: array
4733
4735
portraitType:
4734
-
description: PortraitType is the type of portrait. Different type has different portrait generating logic.
4736
+
description: PortraitType is the type of portrait. Different type has different semantics with different portrait generating logic.
4735
4737
type: string
4736
4738
scaleTargetRef:
4737
4739
description: ScaleTargetRef points to the target resource to scale.
Copy file name to clipboardExpand all lines: charts/kapacity-manager/templates/crds/autoscaling.kapacitystack.io_intelligenthorizontalpodautoscalers.yaml
+6-4
Original file line number
Diff line number
Diff line change
@@ -232,10 +232,9 @@ spec:
232
232
description: Algorithm is the algorithm for which to use to generate the portrait.
233
233
properties:
234
234
config:
235
-
additionalProperties:
236
-
type: string
237
-
description: 'Config is the general configuration data for arbitrary algorithm those used by external user-defined portraits. TODO: consider if we can make it structural'
235
+
description: Config is the general configuration data for arbitrary algorithm those used by external portrait generators.
238
236
type: object
237
+
x-kubernetes-preserve-unknown-fields: true
239
238
externalJob:
240
239
description: ExternalJob is the configuration for ExternalJob algorithm.
241
240
properties:
@@ -4584,6 +4583,9 @@ spec:
4584
4583
required:
4585
4584
- type
4586
4585
type: object
4586
+
externalGeneratorName:
4587
+
description: ExternalGeneratorName is the identifier of external controller which shall generate this portrait. External controllers should use this field to filter portraits to generate. Kapacity's built-in portrait generators would ignore portraits with this field set.
4588
+
type: string
4587
4589
metrics:
4588
4590
description: Metrics contains the specifications for which to use to generate the portrait.
4589
4591
items:
@@ -4926,7 +4928,7 @@ spec:
4926
4928
type: object
4927
4929
type: array
4928
4930
portraitType:
4929
-
description: PortraitType is the type of portrait. Different type has different portrait generating logic.
4931
+
description: PortraitType is the type of portrait. Different type has different semantics with different portrait generating logic.
0 commit comments