class Kubernetes::KubeconfigManager

Included Modules

Defined in:

kubernetes/kubeconfig_manager.cr

Constructors

Instance Method Summary

Instance methods inherited from module Kubernetes::DeploymentHelper

api_server_ip_address(instance : Hetzner::Instance) : String api_server_ip_address

Class methods inherited from module Kubernetes::DeploymentHelper

api_server_ip_address(instance : Hetzner::Instance) : String api_server_ip_address

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

Constructor Detail

def self.new(configuration : Configuration::Loader, settings : Configuration::Main, ssh : Util::SSH) #

[View source]

Instance Method Detail

def generate_tls_sans(masters : Array(Hetzner::Instance), first_master : Hetzner::Instance, load_balancer : Hetzner::LoadBalancer | Nil) #

[View source]
def save_kubeconfig(masters : Array(Hetzner::Instance), first_master : Hetzner::Instance, load_balancer : Hetzner::LoadBalancer | Nil) #

[View source]