From 81111c7fdf9636d154be8e2d83658edabc3f2a9f Mon Sep 17 00:00:00 2001 From: Paige Patton Date: Thu, 12 Dec 2024 16:19:34 -0500 Subject: [PATCH] updating yaml --- scenarios/openshift/vmware_node_scenarios.yml | 27 ++++++++++++------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/scenarios/openshift/vmware_node_scenarios.yml b/scenarios/openshift/vmware_node_scenarios.yml index 9acf5257..0e19560b 100644 --- a/scenarios/openshift/vmware_node_scenarios.yml +++ b/scenarios/openshift/vmware_node_scenarios.yml @@ -1,10 +1,17 @@ -# yaml-language-server: $schema=../plugin.schema.json -- id: - config: - name: # Node on which scenario has to be injected; can set multiple names separated by comma - label_selector: # When node_name is not specified, a node with matching label_selector is selected for node chaos scenario injection - runs: 1 # Number of times to inject each scenario under actions (will perform on same node each time) - instance_count: 1 # Number of nodes to perform action/select that match the label selector - timeout: 300 # Duration to wait for completion of node scenario injection - verify_session: True # Set to True if you want to verify the vSphere client session using certificates; else False - skip_openshift_checks: False # Set to True if you don't want to wait for the status of the nodes to change on OpenShift before passing the scenario +node_scenarios: + - actions: + - node_reboot_scenario + node_name: + label_selector: node-role.kubernetes.io/worker + instance_count: 1 + timeout: 120 + cloud_type: vmware + - actions: + - node_stop_start_scenario + node_name: + label_selector: node-role.kubernetes.io/worker + instance_count: 1 + timeout: 360 + duration: 10 + cloud_type: vmware + parallel: false