module LitmusManager

Defined in:

tasks/litmus_setup.cr

Constant Summary

DOWNLOADED_LITMUS_FILE = "litmus-operator-downloaded.yaml"

for node drain

LITMUS_K8S_DOMAIN = "litmuschaos.io"
LITMUS_NAMESPACE = "litmus"
LITMUS_OPERATOR = "https://litmuschaos.github.io/litmus/litmus-operator-v#{LitmusManager::Version}.yaml"

https://raw.githubusercontent.com/litmuschaos/chaos-operator/v2.14.x/deploy/operator.yaml

MODIFIED_LITMUS_FILE = "litmus-operator-modified.yaml"
NODE_LABEL = "kubernetes.io/hostname"

Version = "1.13.8" Version = "3.0.0-beta12"

RBAC_VERSION = "2.6.0"
Version = "3.6.0"

Class Method Summary

Class Method Detail

def self.add_node_selector(node_name) #

[View source]
def self.chaos_manifests_path #

[View source]
def self.check_chaos_verdict(chaos_result_name, chaos_experiment_name, args, namespace : String = "default") : Bool #

check_chaos_verdict will check the verdict of chaosexperiment


[View source]
def self.download_template(url, filename) #

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

[View source]
def self.wait_for_test(test_name, chaos_experiment_name, args, namespace : String = "default") #

wait_for_test will wait for the completion of litmus test


[View source]