Skip to content

Commit 44bb190

Browse files
authored
Merge pull request #414 from yufeiyu/dsp_doc
Add doc for DSP
2 parents d04eb68 + fe477cb commit 44bb190

16 files changed

+224
-4
lines changed

deploy/manifests/analysis.crane.io_analytics.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ spec:
1818
singular: analytics
1919
scope: Namespaced
2020
versions:
21-
- name: v1alpha1
21+
- additionalPrinterColumns:
22+
- jsonPath: .spec.type
23+
name: Type
24+
type: string
25+
- jsonPath: .spec.completionStrategy.completionStrategyType
26+
name: Strategy
27+
type: string
28+
- jsonPath: .spec.completionStrategy.periodSeconds
29+
name: PeriodSeconds
30+
type: string
31+
name: v1alpha1
2232
schema:
2333
openAPIV3Schema:
2434
description: Analytics represents the configuration of an analytics object.
@@ -328,6 +338,7 @@ spec:
328338
type: object
329339
served: true
330340
storage: true
341+
subresources: {}
331342
status:
332343
acceptedNames:
333344
kind: ""

deploy/manifests/analysis.crane.io_recommendations.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,29 @@ spec:
1818
singular: recommendation
1919
scope: Namespaced
2020
versions:
21-
- name: v1alpha1
21+
- additionalPrinterColumns:
22+
- jsonPath: .spec.type
23+
name: Type
24+
type: string
25+
- jsonPath: .spec.targetRef.kind
26+
name: TargetKind
27+
type: string
28+
- jsonPath: .spec.targetRef.namespace
29+
name: TargetNamespace
30+
type: string
31+
- jsonPath: .spec.targetRef.name
32+
name: TargetName
33+
type: string
34+
- jsonPath: .spec.completionStrategy.completionStrategyType
35+
name: Strategy
36+
type: string
37+
- jsonPath: .spec.completionStrategy.periodSeconds
38+
name: PeriodSeconds
39+
type: string
40+
- jsonPath: .spec.adoptionType
41+
name: AdoptionType
42+
type: string
43+
name: v1alpha1
2244
schema:
2345
openAPIV3Schema:
2446
description: Recommendation represents the configuration of a single recommendation.
@@ -216,6 +238,7 @@ spec:
216238
type: object
217239
served: true
218240
storage: true
241+
subresources: {}
219242
status:
220243
acceptedNames:
221244
kind: ""

deploy/manifests/prediction.crane.io_timeseriespredictions.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,16 @@ spec:
367367
type: array
368368
type: object
369369
type: array
370+
ready:
371+
description: Specifies whether the prediction is Ready.
372+
type: boolean
370373
resourceIdentifier:
371374
description: ResourceIdentifier is a resource to identify the
372375
metric, but now it is just an identifier now. such as cpu,
373376
memory
374377
type: string
378+
required:
379+
- ready
375380
type: object
376381
type: array
377382
type: object

docs/images/algorithm/dsp/acf.png

43.6 KB
Loading

docs/images/algorithm/dsp/dsp.png

59.3 KB
Loading
179 KB
Loading

docs/images/algorithm/dsp/input0.png

102 KB
Loading
16.3 KB
Loading
31.9 KB
Loading
66.7 KB
Loading

0 commit comments

Comments
 (0)