Skip to content
Snippets Groups Projects

Introduce action commands

Merged Benedikt Wetzel requested to merge wetzel/spesb:introduce-actionCommands into master
Compare and
18 files
+ 918
42
Compare changes
  • Side-by-side
  • Inline
Files
18
@@ -64,13 +64,69 @@ spec:
type: array
items:
type: string
beforeActions:
type: array
default: []
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
afterActions:
type: array
default: []
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
sut:
description: The appResourceSets specifies all Kubernetes resources required to start the sut. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.
type: object
properties:
resources:
type: array
default: [ ]
default: []
items:
type: object
oneOf:
@@ -101,6 +157,62 @@ spec:
type: array
items:
type: string
beforeActions:
type: array
default: []
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
afterActions:
type: array
default: []
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
loadGenerator:
description: The loadGenResourceSets specifies all Kubernetes resources required to start the load generator. A resourceSet can be either a configMap resourceSet or a fileSystem resourceSet.
type: object
@@ -138,6 +250,62 @@ spec:
type: array
items:
type: string
beforeActions:
type: array
default: [ ]
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
afterActions:
type: array
default: []
items:
type: object
properties:
selector:
type: object
properties:
pod:
type: object
properties:
matchLabels:
type: object
additionalProperties: true
x-kubernetes-map-type: "granular"
default: { }
container:
type: string
exec:
type: object
properties:
command:
type: array
items:
type: string
timeoutSeconds:
type: integer
resourceTypes:
description: A list of resource types that can be scaled for this `benchmark` resource. For each resource type the concrete values are defined in the `execution` object.
type: array
Loading