Skip to content

Commit

Permalink
fixed io-hog scenario
Browse files Browse the repository at this point in the history
Signed-off-by: Tullio Sebastiani <[email protected]>
  • Loading branch information
tsebastiani committed Jan 17, 2024
1 parent ac47e21 commit af776b3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
37 changes: 18 additions & 19 deletions scenarios/arcaflow/io-hog/sub-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ version: v0.2.0
input:
root: RootObject
objects:
hostPath:
id: HostPathVolumeSource
properties:
path:
type:
type_id: string
Volume:
id: Volume
properties:
name:
type:
type_id: string
hostPath:
type:
id: hostPath
type_id: ref
RootObject:
id: input_item
properties:
Expand Down Expand Up @@ -73,25 +89,8 @@ input:
description: the volume that will be attached to the pod. In order to stress
the node storage only hosPath mode is currently supported
type:
type_id: object
id: k8s_volume
properties:
name:
display:
description: name of the volume (must match the name in pod definition)
type:
type_id: string
required: true
hostPath:
display:
description: hostPath options expressed as string map (key-value)
type:
type_id: map
values:
type_id: string
keys:
type_id: string
required: true
type_id: ref
id: Volume
required: true

steps:
Expand Down
37 changes: 18 additions & 19 deletions scenarios/arcaflow/io-hog/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@ version: v0.2.0
input:
root: RootObject
objects:
hostPath:
id: HostPathVolumeSource
properties:
path:
type:
type_id: string
Volume:
id: Volume
properties:
name:
type:
type_id: string
hostPath:
type:
id: hostPath
type_id: ref
RootObject:
id: RootObject
properties:
Expand Down Expand Up @@ -80,25 +96,8 @@ input:
description: the volume that will be attached to the pod. In order to stress
the node storage only hosPath mode is currently supported
type:
type_id: object
id: k8s_volume
properties:
name:
display:
description: name of the volume (must match the name in pod definition)
type:
type_id: string
required: true
hostPath:
display:
description: hostPath options expressed as string map (key-value)
type:
type_id: map
values:
type_id: string
keys:
type_id: string
required: true
type_id: ref
id: Volume
required: true
steps:
workload_loop:
Expand Down

0 comments on commit af776b3

Please sign in to comment.