Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Commits
05ef88f1
Commit
05ef88f1
authored
3 years ago
by
Björn Vonheiden
Browse files
Options
Downloads
Patches
Plain Diff
add description to the slo properties in crd files
parent
8f62a8c6
No related branches found
No related tags found
1 merge request
!172
Use the properties of the slo checker and add lag trend percent
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
helm/templates/theodolite/crd-execution.yaml
+4
-0
4 additions, 0 deletions
helm/templates/theodolite/crd-execution.yaml
theodolite/crd/crd-execution.yaml
+8
-11
8 additions, 11 deletions
theodolite/crd/crd-execution.yaml
with
12 additions
and
11 deletions
helm/templates/theodolite/crd-execution.yaml
+
4
−
0
View file @
05ef88f1
...
@@ -55,12 +55,16 @@ spec:
...
@@ -55,12 +55,16 @@ spec:
required
:
[
"
sloType"
,
"
prometheusUrl"
,
"
offset"
]
required
:
[
"
sloType"
,
"
prometheusUrl"
,
"
offset"
]
properties
:
properties
:
sloType
:
sloType
:
description
:
The type of the SLO. It must match 'lag trend'.
type
:
string
type
:
string
prometheusUrl
:
prometheusUrl
:
description
:
Connection string for Promehteus.
type
:
string
type
:
string
offset
:
offset
:
description
:
Hours by which the start and end timestamp will be shifted (for different timezones).
type
:
integer
type
:
integer
properties
:
properties
:
description
:
(Optional) SLO specific additional arguments.
type
:
object
type
:
object
additionalProperties
:
true
additionalProperties
:
true
x-kubernetes-map-type
:
"
granular"
x-kubernetes-map-type
:
"
granular"
...
...
This diff is collapsed.
Click to expand it.
theodolite/crd/crd-execution.yaml
+
8
−
11
View file @
05ef88f1
...
@@ -60,26 +60,23 @@ spec:
...
@@ -60,26 +60,23 @@ spec:
type
:
array
type
:
array
items
:
items
:
type
:
object
type
:
object
required
:
[
"
sloType"
,
"
threshold"
,
"
prometheusUrl"
,
"
externalSloUrl"
,
"
offset"
,
"
warmup
"
]
required
:
[
"
sloType"
,
"
prometheusUrl"
,
"
offset
"
]
properties
:
properties
:
sloType
:
sloType
:
description
:
The type of the SLO. It must match 'lag trend'.
description
:
The type of the SLO. It must match 'lag trend'.
type
:
string
type
:
string
threshold
:
description
:
The threshold the SUT should meet for a sucessful experiment.
type
:
integer
prometheusUrl
:
prometheusUrl
:
description
:
Connection string for Promehteus.
description
:
Connection string for Promehteus.
type
:
string
type
:
string
externalSloUrl
:
description
:
Connection string for a external slo analysis.
type
:
string
offset
:
offset
:
description
:
Hours by which the start and end timestamp will be shifted (for different timezones).
description
:
Hours by which the start and end timestamp will be shifted (for different timezones).
type
:
integer
type
:
integer
warmup
:
properties
:
description
:
Seconds of time that are ignored in the analysis.
description
:
(Optional) SLO specific additional arguments.
type
:
integer
type
:
object
additionalProperties
:
true
x-kubernetes-map-type
:
"
granular"
default
:
{}
execution
:
# def execution config
execution
:
# def execution config
description
:
Defines the overall parameter for the execution.
description
:
Defines the overall parameter for the execution.
type
:
object
type
:
object
...
@@ -152,4 +149,4 @@ spec:
...
@@ -152,4 +149,4 @@ spec:
jsonPath
:
.metadata.creationTimestamp
jsonPath
:
.metadata.creationTimestamp
subresources
:
subresources
:
status
:
{}
status
:
{}
scope
:
Namespaced
scope
:
Namespaced
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment