Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions node-scenarios/baremetal_node_scenario.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ node_scenarios:
bmc_info: # This section is here to specify baremetal per-machine info, so it is optional if there is no per-machine info.
$NODE_NAME: # The node name for the baremetal machine
bmc_addr: $BMC_ADDR # Optional. For baremetal nodes with the IPMI BMC address missing from 'oc get bmh'.
disks: $DISKS # Optional.List of disks for baremetal nodes format: ["sda", "sdb"].
1 change: 1 addition & 0 deletions node-scenarios/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ export DISABLE_SSL_VERIFICATION=${DISABLE_SSL_VERIFICATION:=False}
export BMC_USER=${BMC_USER:=""}
export BMC_PASSWORD=${BMC_PASSWORD:=""}
export BMC_ADDR=${BMC_ADDR:=""}
export DISKS=${DISKS:=""}
13 changes: 11 additions & 2 deletions node-scenarios/krknctl-input.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "action performed on the node, visit https://github.com/krkn-chaos/krkn/blob/main/docs/node_scenarios.md for more infos",
"variable": "ACTION",
"type": "enum",
"allowed_values": "node_start_scenario,node_stop_scenario,node_stop_start_scenario,node_termination_scenario,node_reboot_scenario,stop_kubelet_scenario,stop_start_kubelet_scenario,restart_kubelet_scenario,node_crash_scenario,stop_start_helper_node_scenario,node_block_scenario",
"allowed_values": "node_start_scenario,node_stop_scenario,node_stop_start_scenario,node_termination_scenario,node_reboot_scenario,stop_kubelet_scenario,stop_start_kubelet_scenario,restart_kubelet_scenario,node_crash_scenario,stop_start_helper_node_scenario,node_block_scenario,node_disk_detach_attach_scenario",
"separator": ",",
"required": "true"
},
Expand Down Expand Up @@ -195,6 +195,15 @@
"default": "",
"required": "false"
},
{
"name": "disks",
"short_description": "Disk List [*Bare Metal only*]",
"description": "List of disks for baremetal nodes - format: [\"sda\", \"sdb\"]",
"variable": "DISKS",
"type": "string",
"default": "",
"required": "false"
},
{
"name": "ibmc-address",
"short_description": "IBM Cloud URL [*IBM Cloud only*]",
Expand Down Expand Up @@ -291,4 +300,4 @@
"required": "false",
"mount_path": "/home/krkn/osServiceAccount.json"
}
]
]