class
Kubernetes::Software::ClusterAutoscaler
- Kubernetes::Software::ClusterAutoscaler
- Reference
- Object
Included Modules
Defined in:
kubernetes/software/cluster_autoscaler.crConstant Summary
-
CERT_CHECK_COMMAND =
"[ -f /etc/ssl/certs/ca-certificates.crt ] && echo 1 || echo 2" -
CLOUD_PROVIDER =
"hetzner" -
CLUSTER_AUTOSCALER_NAME =
"cluster-autoscaler" -
CRITICAL_ADDONS_ONLY_TOLERATION_KEY =
"CriticalAddonsOnly" -
DEFAULT_CA_CERTIFICATES =
"/etc/ssl/certs/ca-certificates.crt" -
FALLBACK_CA_BUNDLE =
"/etc/ssl/certs/ca-bundle.crt" -
HCLOUD_CLOUD_INIT_VAR =
"HCLOUD_CLOUD_INIT" -
HCLOUD_CLUSTER_CONFIG_VAR =
"HCLOUD_CLUSTER_CONFIG" -
HCLOUD_FIREWALL_VAR =
"HCLOUD_FIREWALL" -
HCLOUD_NETWORK_VAR =
"HCLOUD_NETWORK" -
HCLOUD_PUBLIC_IPV4_VAR =
"HCLOUD_PUBLIC_IPV4" -
HCLOUD_PUBLIC_IPV6_VAR =
"HCLOUD_PUBLIC_IPV6" -
HCLOUD_SSH_KEY_VAR =
"HCLOUD_SSH_KEY" -
SSL_CERTS_VOLUME_NAME =
"ssl-certs" -
STORAGE_API_GROUP =
"storage.k8s.io" -
VOLUME_ATTACHMENTS_RESOURCE =
"volumeattachments"
Constructors
Instance Method Summary
- #autoscaling_worker_node_pools : Array(Configuration::Models::WorkerNodePool)
- #configuration : Configuration::Loader
- #first_master : ::Hetzner::Instance
- #install : Nil
- #masters : Array(::Hetzner::Instance)
- #settings : Configuration::Main
- #ssh : Util::SSH
Instance methods inherited from module Kubernetes::Util
api_server_ready?(kubeconfig_path : String) : Bool
api_server_ready?,
apply_kubectl_command(command : String, error_message = "") : Util::Shell::CommandResult
apply_kubectl_command,
apply_manifest_from_url(url : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
apply_manifest_from_url,
apply_manifest_from_yaml(yaml : String, error_message = "Failed to apply manifest") : Util::Shell::CommandResult
apply_manifest_from_yaml,
ensure_kubectl_is_installed! : Nil
ensure_kubectl_is_installed!,
fetch_manifest(url : String) : String
fetch_manifest,
kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
kubernetes_component_args_list,
port_open?(ip : String, port : String | Int32, timeout : Float64 = 1.0) : Bool
port_open?,
switch_to_context(context : String, abort_on_error = true, request_timeout : Int32 | Nil = nil, print_output = true) : Util::Shell::CommandResult
switch_to_context
Class methods inherited from module Kubernetes::Util
kubernetes_component_args_list(settings_group : String, setting : Array(String)) : String
kubernetes_component_args_list
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, masters : Array(::Hetzner::Instance), first_master : ::Hetzner::Instance, ssh : Util::SSH, autoscaling_worker_node_pools : Array(Configuration::Models::WorkerNodePool))
#