class

Kubernetes::LocalFirewall::Setup

Inherits Reference < Object

Constants

AUTOSCALED_NODE_TIMEOUT = 30.seconds
FIREWALL_SCRIPT = {{ read_file("/tmp/tmp.IehdGi/src/src/kubernetes/local_firewall/../../../templates/firewall/firewall.sh") }}
FIREWALL_SERVICE = {{ read_file("/tmp/tmp.IehdGi/src/src/kubernetes/local_firewall/../../../templates/firewall/firewall.service") }}
FIREWALL_STATUS = {{ read_file("/tmp/tmp.IehdGi/src/src/kubernetes/local_firewall/../../../templates/firewall/firewall_status.sh") }}

Constructors

new(settings : Configuration::Main, ssh : Util::SSH)
Source

Instance methods

deploy(instance : Hetzner::Instance) : Nil
Source
deploy_to_all_nodes(first_master : Hetzner::Instance, known_instances : Array(Hetzner::Instance)) : Nil
Source
deploy_with_ssh(instance : Hetzner::Instance, ssh : Util::SSH, port : Int32, use_sudo : Bool = false) : Nil
Source