module LitmusManager

Defined in:

tasks/litmus_setup.cr

Constant Summary

DOWNLOADED_LITMUS_FILE = "litmus-operator-downloaded.yaml"

for node drain

MODIFIED_LITMUS_FILE = "litmus-operator-modified.yaml"
NODE_LABEL = "kubernetes.io/hostname"
OFFLINE_LITMUS_OPERATOR = "#{OFFLINE_MANIFESTS_PATH}/litmus-operator-v#{LitmusManager::Version}.yaml"
ONLINE_LITMUS_OPERATOR = "https://litmuschaos.github.io/litmus/litmus-operator-v#{LitmusManager::Version}.yaml"
Version = "2.1.0"

Class Method Summary

Class Method Detail

def self.add_node_selector(node_name, airgap = false) #

[View source]
def self.check_chaos_verdict(chaos_result_name, chaos_experiment_name, args) : Bool #

check_chaos_verdict will check the verdict of chaosexperiment


[View source]
def self.cordon_target_node(deployment_label, deployment_value) #

[View source]
def self.wait_for_test(test_name, chaos_experiment_name, total_chaos_duration, args) #

wait_for_test will wait for the completion of litmus test


[View source]