Class: Kubes::CLI::Logs

Inherits:
Base
  • Object
show all
Includes:
Logging, Util::Sh
Defined in:
lib/kubes/cli/logs.rb

Instance Method Summary collapse

Methods included from Util::Sh

#sh, #sh_capture

Methods included from Logging

#logger

Methods inherited from Base

#compile, #initialize, #pod_name

Constructor Details

This class inherits a constructor from Kubes::CLI::Base

Instance Method Details

#runObject



6
7
8
9
# File 'lib/kubes/cli/logs.rb', line 6

def run
  compile
  sh("kubectl logs #{args}")
end