|
3 | 3 | "kind": "CustomResourceDefinition", |
4 | 4 | "metadata": { |
5 | 5 | "annotations": { |
6 | | - "controller-gen.kubebuilder.io/version": "v0.14.0" |
| 6 | + "controller-gen.kubebuilder.io/version": "v0.8.0" |
7 | 7 | }, |
| 8 | + "creationTimestamp": null, |
8 | 9 | "name": "servicelevelobjectives.pyrra.dev" |
9 | 10 | }, |
10 | 11 | "spec": { |
|
49 | 50 | "description": "ServiceLevelObjective is the Schema for the ServiceLevelObjectives API.", |
50 | 51 | "properties": { |
51 | 52 | "apiVersion": { |
52 | | - "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", |
| 53 | + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", |
53 | 54 | "type": "string" |
54 | 55 | }, |
55 | 56 | "kind": { |
56 | | - "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 57 | + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
57 | 58 | "type": "string" |
58 | 59 | }, |
59 | 60 | "metadata": { |
|
89 | 90 | "type": "object" |
90 | 91 | }, |
91 | 92 | "description": { |
92 | | - "description": "Description describes the ServiceLevelObjective in more detail and\ngives extra context for engineers that might not directly work on the service.", |
| 93 | + "description": "Description describes the ServiceLevelObjective in more detail and gives extra context for engineers that might not directly work on the service.", |
93 | 94 | "type": "string" |
94 | 95 | }, |
95 | 96 | "indicator": { |
96 | | - "description": "ServiceLevelIndicator is the underlying data source that indicates how the service is doing.\nThis will be a Prometheus metric with specific selectors for your service.", |
| 97 | + "description": "ServiceLevelIndicator is the underlying data source that indicates how the service is doing. This will be a Prometheus metric with specific selectors for your service.", |
97 | 98 | "properties": { |
98 | 99 | "bool_gauge": { |
99 | | - "description": "BoolGauge is the indicator that measures whether a boolean gauge is\nsuccessful.", |
| 100 | + "description": "BoolGauge is the indicator that measures whether a boolean gauge is successful.", |
100 | 101 | "properties": { |
101 | 102 | "grouping": { |
102 | 103 | "description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.", |
|
156 | 157 | "type": "object" |
157 | 158 | }, |
158 | 159 | "latencyNative": { |
159 | | - "description": "LatencyNative is the indicator that measures a certain percentage to be faster than the expected latency.\nThis uses the new native histograms in Prometheus.", |
| 160 | + "description": "LatencyNative is the indicator that measures a certain percentage to be faster than the expected latency. This uses the new native histograms in Prometheus.", |
160 | 161 | "properties": { |
161 | 162 | "grouping": { |
162 | 163 | "description": "Grouping allows an SLO to be defined for many SLI at once, like HTTP handlers for example.", |
|
234 | 235 | }, |
235 | 236 | "partial_response_strategy": { |
236 | 237 | "default": "abort", |
237 | | - "description": "PartialResponseStrategy is only used by ThanosRuler and will\nbe ignored by Prometheus instances.\nMore info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response", |
| 238 | + "description": "PartialResponseStrategy is only used by ThanosRuler and will be ignored by Prometheus instances. More info: https://github.com/thanos-io/thanos/blob/main/docs/components/rule.md#partial-response", |
238 | 239 | "enum": [ |
239 | 240 | "abort", |
240 | 241 | "warn", |
241 | 242 | "" |
242 | 243 | ], |
243 | 244 | "type": "string" |
244 | 245 | }, |
| 246 | + "performance_over_accuracy": { |
| 247 | + "default": false, |
| 248 | + "type": "boolean" |
| 249 | + }, |
245 | 250 | "target": { |
246 | | - "description": "Target is a string that's casted to a float64 between 0 - 100.\nIt represents the desired availability of the service in the given window.\nfloat64 are not supported: https://github.com/kubernetes-sigs/controller-tools/issues/245", |
| 251 | + "description": "Target is a string that's casted to a float64 between 0 - 100. It represents the desired availability of the service in the given window. float64 are not supported: https://github.com/kubernetes-sigs/controller-tools/issues/245", |
247 | 252 | "type": "string" |
248 | 253 | }, |
249 | 254 | "window": { |
|
279 | 284 | } |
280 | 285 | } |
281 | 286 | ] |
| 287 | + }, |
| 288 | + "status": { |
| 289 | + "acceptedNames": { |
| 290 | + "kind": "", |
| 291 | + "plural": "" |
| 292 | + }, |
| 293 | + "conditions": [], |
| 294 | + "storedVersions": [] |
282 | 295 | } |
283 | 296 | } |
0 commit comments