module
Kubernetes::Util
Included Modules
Direct including types
- Cluster::Delete
- Cluster::NodeDetection
- Cluster::Run
- Cluster::Upgrade
- Hetzner::Instance::Create
- Kubernetes::Installer
- Kubernetes::KubeconfigManager
- Kubernetes::Script::MasterGenerator
- Kubernetes::Script::WorkerGenerator
- Kubernetes::Software::Cilium
- Kubernetes::Software::ClusterAutoscaler
- Kubernetes::Software::Hetzner::CloudControllerManager
- Kubernetes::Software::Hetzner::CSIDriver
- Kubernetes::Software::Hetzner::Secret
- Kubernetes::Software::SystemUpgradeController
Defined in:
kubernetes/util.crClass Method Summary
Instance Method Summary
- #api_server_ready?(kubeconfig_path : String) : Bool
- #apply_kubectl_command(command : String, error_message = "") : Util::Shell::CommandResult
- #apply_manifest_from_url(url : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
- #apply_manifest_from_yaml(yaml : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
- #ensure_kubectl_is_installed! : Nil
- #fetch_manifest(url : String) : String
- #kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
- #port_open?(ip : String, port : String | Int32, timeout : Float64 = 1.0) : Bool
- #switch_to_context(context : String, abort_on_error = true, request_timeout : Int32 | Nil = nil, print_output = true) : Util::Shell::CommandResult
Instance methods inherited from module Util::Shell
run_shell_command(command : String, kubeconfig_path : String, hetzner_token : String, error_message : String = "", abort_on_error : Bool = true, log_prefix : String = "", 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
Class methods inherited from module Util
which(command)
which
Class Method Detail
def self.kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
#
Instance Method Detail
def apply_manifest_from_url(url : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
#
def apply_manifest_from_yaml(yaml : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
#
def kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
#
def switch_to_context(context : String, abort_on_error = true, request_timeout : Int32 | Nil = nil, print_output = true) : Util::Shell::CommandResult
#