module

Kubernetes::Util

Inherits Util::Shell < Util

Class methods

kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
Source

Instance methods

api_server_ready?(kubeconfig_path : String) : Bool
Source
apply_kubectl_command(command : String, error_message = "") : Util::Shell::CommandResult
Source
apply_manifest_from_url(url : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
Source
apply_manifest_from_yaml(yaml : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
Source
apply_manifest_server_side(yaml : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
Source
ensure_kubectl_is_installed!
Source
fetch_manifest(url : String) : String
Source
kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
Source
port_open?(ip : String, port : String | Int32, timeout : Float64 = 1.0) : Bool
Source
resolve_network_name
Source
switch_to_context(context : String, abort_on_error = true, request_timeout : Int32 | Nil = nil, print_output = true) : Util::Shell::CommandResult
Source