extracted the namespace as scenario input (#419)

fixed sub-workflow and input

Co-authored-by: Naga Ravi Chaitanya Elluri <nelluri@redhat.com>
This commit is contained in:
Tullio Sebastiani
2023-05-15 18:24:23 +02:00
committed by GitHub
co-authored by Naga Ravi Chaitanya Elluri
parent d9f4607aa6
commit b9c08a45db
12 changed files with 52 additions and 4 deletions
+1
View File
@@ -6,6 +6,7 @@ Usage section.
This scenario takes a list of objects named `input_list` with the following properties:
- **kubeconfig :** *string* the kubeconfig needed by the deployer to deploy the sysbench plugin in the target cluster
- **namespace :** *string* the namespace where the scenario container will be deployed
**Note:** this parameter will be automatically filled by kraken if the `kubeconfig_path` property is correctly set
- **node_selector :** *key-value map* the node label that will be used as `nodeSelector` by the pod to target a specific cluster node
- **duration :** *string* stop stress test after N seconds. One can also specify the units of time in seconds, minutes, hours, days or years with the suffix s, m, h, d or y.
+1
View File
@@ -7,6 +7,7 @@ Usage section.
This scenario takes a list of objects named `input_list` with the following properties:
- **kubeconfig :** *string* the kubeconfig needed by the deployer to deploy the sysbench plugin in the target cluster
- **namespace :** *string* the namespace where the scenario container will be deployed
**Note:** this parameter will be automatically filled by kraken if the `kubeconfig_path` property is correctly set
- **node_selector :** *key-value map* the node label that will be used as `nodeSelector` by the pod to target a specific cluster node
- **duration :** *string* stop stress test after N seconds. One can also specify the units of time in seconds, minutes, hours, days or years with the suffix s, m, h, d or y.
+1
View File
@@ -6,6 +6,7 @@ Usage section.
This scenario takes a list of objects named `input_list` with the following properties:
- **kubeconfig :** *string* the kubeconfig needed by the deployer to deploy the sysbench plugin in the target cluster
- **namespace :** *string* the namespace where the scenario container will be deployed
**Note:** this parameter will be automatically filled by kraken if the `kubeconfig_path` property is correctly set
- **node_selector :** *key-value map* the node label that will be used as `nodeSelector` by the pod to target a specific cluster node
- **duration :** *string* stop stress test after N seconds. One can also specify the units of time in seconds, minutes, hours, days or years with the suffix s, m, h, d or y.
+1
View File
@@ -8,6 +8,7 @@ input_list:
# node_selector:
# kubernetes.io/hostname: master
kubeconfig: ""
namespace: default
# duplicate this section to run simultaneous stressors in the same run
+8 -1
View File
@@ -11,6 +11,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed
@@ -73,7 +80,7 @@ steps:
connection: !expr $.steps.kubeconfig.outputs.success.connection
pod:
metadata:
namespace: default
namespace: !expr $.input.namespace
labels:
arcaflow: stressng
spec:
+7
View File
@@ -18,6 +18,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed
+1
View File
@@ -13,6 +13,7 @@ input_list:
# node_selector:
# kubernetes.io/hostname: master
kubeconfig: ""
namespace: default
# duplicate this section to run simultaneous stressors in the same run
+8 -1
View File
@@ -11,6 +11,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed
@@ -110,7 +117,7 @@ steps:
connection: !expr $.steps.kubeconfig.outputs.success.connection
pod:
metadata:
namespace: default
namespace: !expr $.input.namespace
labels:
arcaflow: stressng
spec:
+7
View File
@@ -18,6 +18,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed
+2 -1
View File
@@ -6,7 +6,8 @@ input_list:
# node selector example
# node_selector:
# kubernetes.io/hostname: master
kubeconfig: { }
kubeconfig: ""
namespace: default
# duplicate this section to run simultaneous stressors in the same run
@@ -11,6 +11,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed
@@ -64,7 +71,7 @@ steps:
connection: !expr $.steps.kubeconfig.outputs.success.connection
pod:
metadata:
namespace: default
namespace: !expr $.input.namespace
labels:
arcaflow: stressng
spec:
@@ -18,6 +18,13 @@ input:
type:
type_id: string
required: true
namespace:
display:
description: The namespace where the container will be deployed
name: Namespace
type:
type_id: string
required: true
node_selector:
display:
description: kubernetes node name where the plugin must be deployed