class

Hetzner::Instance::Create

Inherits Kubernetes::Util < Util::Shell < Util < Util::Shell < Util < Reference < Object

Constants

INITIAL_DELAY = 1
MAX_DELAY = 60

Constructors

new(settings : Configuration::Main, hetzner_client : Hetzner::Client, mutex : Sync::Mutex, legacy_instance_name : String, instance_name : String, instance_type : String, image : Int64 | String, ssh_key : Hetzner::SSHKey, network : Nil | Hetzner::Network, additional_packages : Array(String) = [] of String, additional_pre_k3s_commands : Array(String) = [] of String, additional_post_k3s_commands : Array(String) = [] of String, location : String = "fsn1", grow_root_partition_automatically : Bool = true, placement_group : Hetzner::PlacementGroup | Nil = nil)
Source

Class methods

cloud_init(settings, ssh_port = 22, snapshot_os = "default", additional_packages = [] of String, additional_pre_k3s_commands = [] of String, additional_post_k3s_commands = [] of String, init_commands = [] of String, grow_root_partition_automatically = true)
Source

Instance methods

instance_name
Source