class Cluster::Upgrade

Included Modules

Defined in:

cluster/upgrade.cr

Constant Summary

UPGRADE_PLAN_MANIFEST_FOR_MASTERS = {{ read_file("/srv/crystaldoc.info/github-vitobotta-hetzner-k3s-v2.0.9/src/cluster/../../templates/upgrade_plan_for_masters.yaml") }}
UPGRADE_PLAN_MANIFEST_FOR_WORKERS = {{ read_file("/srv/crystaldoc.info/github-vitobotta-hetzner-k3s-v2.0.9/src/cluster/../../templates/upgrade_plan_for_workers.yaml") }}

Constructors

Instance Method Summary

Instance methods inherited from module Kubernetes::Util

api_server_ready?(kubeconfig_path) api_server_ready?, apply_kubectl_command(command, error_message = "") apply_kubectl_command, apply_manifest_from_url(url) apply_manifest_from_url, apply_manifest_from_yaml(yaml) apply_manifest_from_yaml, ensure_kubectl_is_installed! ensure_kubectl_is_installed!, fetch_manifest(url) fetch_manifest, kubernetes_component_args_list(settings_group, setting) kubernetes_component_args_list, port_open?(ip, port, timeout = 1.0) port_open?

Instance methods inherited from module Util::Shell

run_shell_command(command : String, kubeconfig_path : String, hetzner_token : String, error_message : String = "", abort_on_error = true, log_prefix = "", print_output : Bool = true) : CommandResult run_shell_command

Instance methods inherited from module Util

default_log_prefix default_log_prefix, log_line(line, log_prefix = "") log_line, which(command) which

Instance methods inherited from module Util::Shell

run_shell_command(command : String, kubeconfig_path : String, hetzner_token : String, error_message : String = "", abort_on_error = true, log_prefix = "", print_output : Bool = true) : CommandResult run_shell_command

Instance methods inherited from module Util

default_log_prefix default_log_prefix, log_line(line, log_prefix = "") log_line, which(command) which

Constructor Detail

def self.new(configuration : Configuration::Loader) #

[View source]

Instance Method Detail

def configuration : Configuration::Loader #

[View source]
def new_k3s_version : String | Nil #

[View source]
def run #

[View source]
def settings : Configuration::Main #

[View source]