Class: Keel::GCloud::Component

Inherits:
Object
  • Object
show all
Defined in:
lib/keel/gcloud/component.rb

Overview

Class to help manage GCloud components.

Class Method Summary collapse

Class Method Details

.install_k8sBoolean

Installs the Kubernetes controller component.

Returns:

  • (Boolean)

    whether the call succeeded or not



20
21
22
# File 'lib/keel/gcloud/component.rb', line 20

def self.install_k8s
  Cli.new.system_call 'gcloud components install kubectl'
end

.updateBoolean

Updates the installed GCloud components.

Returns:

  • (Boolean)

    whether the call succeeded or not



11
12
13
# File 'lib/keel/gcloud/component.rb', line 11

def self.update
  Cli.new.system_call 'gcloud components update'
end